public class ClientItemDefinition extends ClientObject implements 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 |
|---|---|
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 NodeType getDeclaringNodeType()
getDeclaringNodeType in interface ItemDefinitionpublic String getName()
getName in interface ItemDefinitionpublic boolean isAutoCreated()
isAutoCreated in interface ItemDefinitionpublic boolean isMandatory()
isMandatory in interface ItemDefinitionpublic int getOnParentVersion()
getOnParentVersion in interface ItemDefinitionpublic boolean isProtected()
isProtected in interface ItemDefinitionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.