Class MetaDataEntry

    • Field Detail

      • END_OF_LIST

        public static String END_OF_LIST
    • Constructor Detail

      • MetaDataEntry

        public MetaDataEntry()
        Simple constructor
      • MetaDataEntry

        public MetaDataEntry​(String className,
                             String qnameAsString)
        Constructor
        Parameters:
        className - name of the object class
        qnameAsString - an expanded version of the QName of this object
      • MetaDataEntry

        public MetaDataEntry​(String className,
                             String qnameAsString,
                             String extraName)
        Constructor
        Parameters:
        className - name of the object class
        qnameAsString - an expanded version of the QName of this object
        extraName - an additional name associated withe the object
      • MetaDataEntry

        public MetaDataEntry​(String className,
                             String qnameAsString,
                             ArrayList children)
        Constructor
        Parameters:
        className - name of the object class
        qnameAsString - an expanded version of the QName of this object
        children - an ArrayList containing MetaDataEntries for owned objects
    • Method Detail

      • getClassName

        public String getClassName()
        Get the class name
        Returns:
        the class name string
      • setClassName

        public void setClassName​(String c)
        Set the class name
        Parameters:
        c - the class name string
      • getQName

        public QName getQName()
        Get the QName
        Returns:
        the QName based on the qnameAsString value
      • setQName

        public void setQName​(QName q)
        Set the QName
        Parameters:
        q - the QName
      • setQName

        public void setQName​(String n)
        Set the QName
        Parameters:
        n - the QName as a string
      • getQNameAsString

        public String getQNameAsString()
        Get the QName as a string
        Returns:
        the QName as a string
      • getName

        public String getName()
        This is a convenience method. Returns the string that is used as a name.
        Returns:
        the name
      • getExtraName

        public String getExtraName()
        Get the additional name associated with the object
        Returns:
        the additional name string
      • setExtraName

        public void setExtraName​(String e)
        Set the additional name associated with the object
        Parameters:
        e - the extra name string
      • isListEmpty

        public boolean isListEmpty()
        Indicates whether the list is empty or not
        Returns:
        false for a non-empty list, true for an empty list
      • getChildren

        public ArrayList getChildren()
        Get the list
        Returns:
        the array list
      • setChildren

        public void setChildren​(ArrayList L)
        Set the list
        Parameters:
        L - the ArrayList of MetaDataEntry objects
      • addToList

        public void addToList​(MetaDataEntry e)
        Add to the list
        Parameters:
        e - the MetaDataEntry object to add to the list
      • removeList

        public void removeList()
        Remove the list