Class PropertyDefinition

java.lang.Object
eu.xenit.alfred.api.properties.PropertyDefinition

public class PropertyDefinition extends Object
Datastructure that represents a property. name: The qname of the property. title description defaultValue dataType multiValued: Whether a node with this can have multiple values. mandatory: Whether a node is required to have a value for this property or not. enforced isProtected indexed: Information around the indexing with this property. constraints: List of constraints of this property.
  • Constructor Details

  • Method Details

    • getName

      public QName getName()
    • setName

      public void setName(QName name)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getDefaultValue

      public String getDefaultValue()
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • getDataType

      public QName getDataType()
    • setDataType

      public void setDataType(QName dataType)
    • isMultiValued

      public boolean isMultiValued()
    • setMultiValued

      public void setMultiValued(boolean multiValued)
    • isMandatory

      public boolean isMandatory()
    • setMandatory

      public void setMandatory(boolean mandatory)
    • isEnforced

      public boolean isEnforced()
    • setEnforced

      public void setEnforced(boolean enforced)
    • isIsProtected

      public boolean isIsProtected()
    • setIsProtected

      public void setIsProtected(boolean aProtected)
    • getIndexed

      public PropertyIndexOptions getIndexed()
    • setIndexed

      public void setIndexed(PropertyIndexOptions indexed)
    • getConstraints

      public List<PropertyConstraintDefinition> getConstraints()
    • setConstraints

      public void setConstraints(List<PropertyConstraintDefinition> constraints)
    • getContainer

      public QName getContainer()
    • setContainer

      public void setContainer(QName container)