Package org.apache.jackrabbit.rmi.client
Class ClientItemDefinition
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.ClientItemDefinition
-
- All Implemented Interfaces:
ItemDefinition
- Direct Known Subclasses:
ClientNodeDefinition,ClientPropertyDefinition
@Deprecated public class ClientItemDefinition extends ClientObject implements ItemDefinition
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Local adapter for the JCR-RMI
RemoteItemDefinitioninterface. This class makes a remote item definition locally available using the JCRItemDefinterface. Used mainly as the base class for theClientPropertyDefinitionandClientNodeDefinitionadapters.- See Also:
ItemDefinition,RemoteItemDefinition
-
-
Constructor Summary
Constructors Constructor Description ClientItemDefinition(RemoteItemDefinition remote, LocalAdapterFactory factory)Deprecated.Creates a local adapter for the given remote item definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NodeTypegetDeclaringNodeType()Deprecated.StringgetName()Deprecated.intgetOnParentVersion()Deprecated.booleanisAutoCreated()Deprecated.booleanisMandatory()Deprecated.booleanisProtected()Deprecated.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientItemDefinition
public ClientItemDefinition(RemoteItemDefinition remote, LocalAdapterFactory factory)
Deprecated.Creates a local adapter for the given remote item definition.- Parameters:
remote- remote item definitionfactory- local adapter factory
-
-
Method Detail
-
getDeclaringNodeType
public NodeType getDeclaringNodeType()
Deprecated.- Specified by:
getDeclaringNodeTypein interfaceItemDefinition
-
getName
public String getName()
Deprecated.- Specified by:
getNamein interfaceItemDefinition
-
isAutoCreated
public boolean isAutoCreated()
Deprecated.- Specified by:
isAutoCreatedin interfaceItemDefinition
-
isMandatory
public boolean isMandatory()
Deprecated.- Specified by:
isMandatoryin interfaceItemDefinition
-
getOnParentVersion
public int getOnParentVersion()
Deprecated.- Specified by:
getOnParentVersionin interfaceItemDefinition
-
isProtected
public boolean isProtected()
Deprecated.- Specified by:
isProtectedin interfaceItemDefinition
-
-