org.apache.jackrabbit.rmi.client
Class ClientPropertyDefinition
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientItemDefinition
org.apache.jackrabbit.rmi.client.ClientPropertyDefinition
- All Implemented Interfaces:
- javax.jcr.nodetype.ItemDefinition, javax.jcr.nodetype.PropertyDefinition
public class ClientPropertyDefinition
- extends ClientItemDefinition
- implements javax.jcr.nodetype.PropertyDefinition
Local adapter for the JCR-RMI
RemotePropertyDefinition
interface. This class makes a remote property definition locally available
using the JCR PropertyDef
interface.
- See Also:
PropertyDefinition
,
RemotePropertyDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jcr.nodetype.ItemDefinition |
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected |
ClientPropertyDefinition
public ClientPropertyDefinition(RemotePropertyDefinition remote,
LocalAdapterFactory factory)
- Creates a local adapter for the given remote property definition.
- Parameters:
remote
- remote property definitionfactory
- local adapter factory
getRequiredType
public int getRequiredType()
-
- Specified by:
getRequiredType
in interface javax.jcr.nodetype.PropertyDefinition
getValueConstraints
public String[] getValueConstraints()
-
- Specified by:
getValueConstraints
in interface javax.jcr.nodetype.PropertyDefinition
getDefaultValues
public javax.jcr.Value[] getDefaultValues()
-
- Specified by:
getDefaultValues
in interface javax.jcr.nodetype.PropertyDefinition
isMultiple
public boolean isMultiple()
-
- Specified by:
isMultiple
in interface javax.jcr.nodetype.PropertyDefinition
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.