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:
- ItemDefinition, PropertyDefinition
public class ClientPropertyDefinition
- extends ClientItemDefinition
- implements 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 |
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 PropertyDefinition
getValueConstraints
public String[] getValueConstraints()
-
- Specified by:
getValueConstraints
in interface PropertyDefinition
getDefaultValues
public Value[] getDefaultValues()
-
- Specified by:
getDefaultValues
in interface PropertyDefinition
isMultiple
public boolean isMultiple()
-
- Specified by:
isMultiple
in interface PropertyDefinition
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.