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, getNodeTypeArray
public ClientItemDefinition(RemoteItemDefinition remote, LocalAdapterFactory factory)
remote
- remote item definitionfactory
- local adapter factorypublic NodeType getDeclaringNodeType()
getDeclaringNodeType
in interface ItemDefinition
public String getName()
getName
in interface ItemDefinition
public boolean isAutoCreated()
isAutoCreated
in interface ItemDefinition
public boolean isMandatory()
isMandatory
in interface ItemDefinition
public int getOnParentVersion()
getOnParentVersion
in interface ItemDefinition
public boolean isProtected()
isProtected
in interface ItemDefinition
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.