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:
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

Constructor Summary
ClientPropertyDefinition(RemotePropertyDefinition remote, LocalAdapterFactory factory)
          Creates a local adapter for the given remote property definition.
 
Method Summary
 javax.jcr.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 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.