Class AttributeMapping

  • Direct Known Subclasses:
    NestedAttributeMapping

    public class AttributeMapping
    extends Object
    Since:
    2.4
    Author:
    Gabriel Roldan (Axios Engineering), Rini Angreani (CSIRO Earth Science and Resource Engineering)
    • Method Detail

      • isMultiValued

        public boolean isMultiValued()
      • encodeIfEmpty

        public boolean encodeIfEmpty()
      • isList

        public boolean isList()
      • getSourceExpression

        public Expression getSourceExpression()
      • getSourceIndex

        public String getSourceIndex()
      • getTargetNodeInstance

        public AttributeType getTargetNodeInstance()
      • isNestedAttribute

        public boolean isNestedAttribute()
        This is overridden by NestedAttributeMapping
        Returns:
        always return false
      • getLabel

        public String getLabel()
        ******************************************************************** Label, parentLabel and instancePath are for web service backend only ********************************************************************
      • getParentLabel

        public String getParentLabel()
      • getInstanceXpath

        public String getInstanceXpath()
      • setLabel

        public void setLabel​(String label)
      • setParentLabel

        public void setParentLabel​(String label)
      • setInstanceXpath

        public void setInstanceXpath​(String instancePath)
      • setEncodeIfEmpty

        public void setEncodeIfEmpty​(boolean encodeIfEmpty)
      • setList

        public void setList​(boolean isList)
      • equals

        public boolean equals​(Object o)
        END specific web service methods******************
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object
      • getClientProperties

        public Map<Name,​Expression> getClientProperties()
      • getIdentifierExpression

        public Expression getIdentifierExpression()
      • setIdentifierExpression

        public void setIdentifierExpression​(Expression identifierExpression)
      • getIndexField

        public String getIndexField()
      • setIndexField

        public void setIndexField​(String indexField)