org.apache.jackrabbit.rmi.client
Class ClientPropertyDefinition

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.ClientObject
      extended by org.apache.jackrabbit.rmi.client.ClientItemDefinition
          extended by 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

Constructor Summary
ClientPropertyDefinition(RemotePropertyDefinition remote, LocalAdapterFactory factory)
          Creates a local adapter for the given remote property definition.
 
Method Summary
 Value[] getDefaultValues()
          
 int getRequiredType()
          
 String[] getValueConstraints()
          
 boolean isMultiple()
          
 
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
 
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
 
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
 

Constructor Detail

ClientPropertyDefinition

public ClientPropertyDefinition(RemotePropertyDefinition remote,
                                LocalAdapterFactory factory)
Creates a local adapter for the given remote property definition.

Parameters:
remote - remote property definition
factory - local adapter factory
Method Detail

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.