Class TempMetadataID

    • Constructor Detail

      • TempMetadataID

        public TempMetadataID​(String ID,
                              List<TempMetadataID> elements)
        Constructor for group form of metadata ID.
        Parameters:
        ID - Fully-qualified, upper-case name of ID
        elements - List of TempMetadataID representing elements
      • TempMetadataID

        public TempMetadataID​(String ID,
                              List<TempMetadataID> elements,
                              TempMetadataID.Type type)
        Constructor for group form of metadata ID.
        Parameters:
        ID - Fully-qualified, upper-case name of ID
        elements - List of TempMetadataID representing elements
        type - of group
      • TempMetadataID

        public TempMetadataID​(String ID,
                              Class<?> type)
        Constructor for element form of metadata ID.
        Parameters:
        ID - Fully-qualified, upper-case name of ID
        type - Type of elements List of TempMetadataID representing elements
      • TempMetadataID

        public TempMetadataID​(String ID,
                              Class<?> type,
                              Object metadataID)
        Constructor for element form of metadata ID with the underlying element.
        Parameters:
        ID - Fully-qualified, upper-case name of ID
        type - Type of elements List of TempMetadataID representing elements
        metadataID - the orginal metadataID
    • Method Detail

      • getID

        public String getID()
        Get ID value
        Returns:
        ID value
      • getType

        public Class<?> getType()
        Get type - only valid for elements
        Returns:
        Type for elements, null for groups
      • getElements

        public List<TempMetadataID> getElements()
        Get elements - only valid for groups
        Returns:
        List of TempMetadataID for groups, null for elements
      • addElement

        protected void addElement​(TempMetadataID elem)
        add a element to the temp table.
        Parameters:
        elem -
      • isVirtual

        public boolean isVirtual()
        Check whether this group is virtual
        Returns:
        True if virtual
      • isTempTable

        public boolean isTempTable()
        Whether it is a temporary table
        Returns:
        Since:
        5.5
      • toString

        public String toString()
        Return string representation of ID
        Overrides:
        toString in class Object
        Returns:
        String representation
      • equals

        public boolean equals​(Object obj)
        Compare this temp metadata ID with another object.
        Overrides:
        equals in class Object
        Returns:
        True if obj is another TempMetadataID with same ID value
      • hashCode

        public int hashCode()
        Return hash code
        Overrides:
        hashCode in class Object
        Returns:
        Hash code value for object
      • setOriginalMetadataID

        public void setOriginalMetadataID​(Object metadataId)
      • getOriginalMetadataID

        public Object getOriginalMetadataID()
        Returns:
        Returns the originalMetadataID.
        Since:
        4.3
      • getCardinality

        public long getCardinality()
      • setCardinality

        public void setCardinality​(long cardinality)
      • setTempTable

        public void setTempTable​(boolean isTempTable)
      • isScalarGroup

        public boolean isScalarGroup()
      • getPosition

        public int getPosition()
      • setPosition

        public void setPosition​(int position)
      • getQueryNode

        public QueryNode getQueryNode()
      • setQueryNode

        public void setQueryNode​(QueryNode queryNode)
      • getCacheHint

        public CacheHint getCacheHint()
      • setCacheHint

        public void setCacheHint​(CacheHint cacheHint)
      • isAutoIncrement

        public boolean isAutoIncrement()
      • setAutoIncrement

        public void setAutoIncrement​(boolean autoIncrement)
      • isNotNull

        public boolean isNotNull()
      • setNotNull

        public void setNotNull​(boolean notNull)
      • setUpdatable

        public void setUpdatable​(boolean updatable)
      • isUpdatable

        public boolean isUpdatable()
      • getName

        public String getName()