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
 java.lang.String[] getAvailableQueryOperators()
           
 javax.jcr.Value[] getDefaultValues()
          
 int getRequiredType()
          
 java.lang.String[] getValueConstraints()
          
 boolean isFullTextSearchable()
           
 boolean isMultiple()
          
 boolean isQueryOrderable()
           
 
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 java.lang.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

getAvailableQueryOperators

public java.lang.String[] getAvailableQueryOperators()
Specified by:
getAvailableQueryOperators in interface javax.jcr.nodetype.PropertyDefinition

isFullTextSearchable

public boolean isFullTextSearchable()
Specified by:
isFullTextSearchable in interface javax.jcr.nodetype.PropertyDefinition

isQueryOrderable

public boolean isQueryOrderable()
Specified by:
isQueryOrderable in interface javax.jcr.nodetype.PropertyDefinition


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.