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