Class DataContainerProperties

    • Constructor Detail

      • DataContainerProperties

        public DataContainerProperties()
        Default constructor
      • DataContainerProperties

        public DataContainerProperties​(DataContainerProperties template)
        Copy/clone constructor.
        Parameters:
        template - template schema attribute to copy.
    • Method Detail

      • getElementPosition

        public int getElementPosition()
        Return the position of this schema attribute in its parent schema.
        Returns:
        int position in schema - 0 means first
      • setElementPosition

        public void setElementPosition​(int elementPosition)
        Set up the position of this schema attribute in its parent schema.
        Parameters:
        elementPosition - int position in schema - 0 means first
      • getMinCardinality

        public int getMinCardinality()
        Return this minimum number of instances allowed for this attribute.
        Returns:
        int
      • setMinCardinality

        public void setMinCardinality​(int minCardinality)
        Set up the minimum number of instances allowed for this attribute.
        Parameters:
        minCardinality - int
      • getMaxCardinality

        public int getMaxCardinality()
        Return the maximum number of instances allowed for this attribute.
        Returns:
        int (-1 means infinite)
      • setMaxCardinality

        public void setMaxCardinality​(int maxCardinality)
        Set up the maximum number of instances allowed for this attribute.
        Parameters:
        maxCardinality - int (-1 means infinite)
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class SchemaElementProperties
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class SchemaElementProperties
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return a number that represents the contents of this object.
        Overrides:
        hashCode in class SchemaElementProperties
        Returns:
        int