public class ClientItemDefinition extends ClientObject implements javax.jcr.nodetype.ItemDefinition
RemoteItemDefinition
interface. This class makes a remote item definition locally available using
the JCR ItemDef interface. Used mainly
as the base class for the
ClientPropertyDefinition
and
ClientNodeDefinition adapters.ItemDefinition,
RemoteItemDefinition| Constructor and Description |
|---|
ClientItemDefinition(RemoteItemDefinition remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote item definition.
|
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.nodetype.NodeType |
getDeclaringNodeType() |
String |
getName() |
int |
getOnParentVersion() |
boolean |
isAutoCreated() |
boolean |
isMandatory() |
boolean |
isProtected() |
getFactory, getItem, getNode, getNodeTypeArraypublic ClientItemDefinition(RemoteItemDefinition remote, LocalAdapterFactory factory)
remote - remote item definitionfactory - local adapter factorypublic javax.jcr.nodetype.NodeType getDeclaringNodeType()
getDeclaringNodeType in interface javax.jcr.nodetype.ItemDefinitionpublic String getName()
getName in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isAutoCreated()
isAutoCreated in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isMandatory()
isMandatory in interface javax.jcr.nodetype.ItemDefinitionpublic int getOnParentVersion()
getOnParentVersion in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isProtected()
isProtected in interface javax.jcr.nodetype.ItemDefinitionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.