org.alfresco.jcr.dictionary
Class PropertyDefinitionImpl

java.lang.Object
  extended by org.alfresco.jcr.dictionary.PropertyDefinitionImpl
All Implemented Interfaces:
javax.jcr.nodetype.ItemDefinition, javax.jcr.nodetype.PropertyDefinition

public class PropertyDefinitionImpl
extends java.lang.Object
implements javax.jcr.nodetype.PropertyDefinition

Alfresco implementation of a JCR Property Definition


Constructor Summary
PropertyDefinitionImpl(NodeTypeManagerImpl typeManager, org.alfresco.service.cmr.dictionary.PropertyDefinition propDef)
          Construct
 
Method Summary
 javax.jcr.nodetype.NodeType getDeclaringNodeType()
           
 javax.jcr.Value[] getDefaultValues()
           
 java.lang.String getName()
           
 int getOnParentVersion()
           
 int getRequiredType()
           
 java.lang.String[] getValueConstraints()
           
 boolean isAutoCreated()
           
 boolean isMandatory()
           
 boolean isMultiple()
           
 boolean isProtected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDefinitionImpl

public PropertyDefinitionImpl(NodeTypeManagerImpl typeManager,
                              org.alfresco.service.cmr.dictionary.PropertyDefinition propDef)
Construct

Parameters:
propDef - Alfresco Property Definition
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

getDeclaringNodeType

public javax.jcr.nodetype.NodeType getDeclaringNodeType()
Specified by:
getDeclaringNodeType in interface javax.jcr.nodetype.ItemDefinition

getName

public java.lang.String getName()
Specified by:
getName in interface javax.jcr.nodetype.ItemDefinition

isAutoCreated

public boolean isAutoCreated()
Specified by:
isAutoCreated in interface javax.jcr.nodetype.ItemDefinition

isMandatory

public boolean isMandatory()
Specified by:
isMandatory in interface javax.jcr.nodetype.ItemDefinition

getOnParentVersion

public int getOnParentVersion()
Specified by:
getOnParentVersion in interface javax.jcr.nodetype.ItemDefinition

isProtected

public boolean isProtected()
Specified by:
isProtected in interface javax.jcr.nodetype.ItemDefinition


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.