Class AbsReference

    • Constructor Detail

      • AbsReference

        public AbsReference()
        Construct an Abstract descriptor to hold a reference
      • AbsReference

        public AbsReference​(String name,
                            String valueType)
        Construct an AbsReference with the given name and value type
        Parameters:
        name - The name of the reference.
        type - The type of the referenced object
    • Method Detail

      • parse

        public static AbsReference parse​(String referenceStr)
        Create an AbsReference from its String representation. The latter can have the form &OBJECT_TYPE#name or OBJECT_TYPE#name.
      • setName

        public void setName​(String name)
        Sets the name of this reference.
        Parameters:
        name - The new name of this reference.
      • setType

        public void setType​(String type)
        Sets the type of the referenced object
        Parameters:
        type - The type of the referenced object
      • getName

        public String getName()
        Gets the name of this reference.
        Returns:
        The name of this reference.
      • getType

        public String getType()
        Gets the type of the referenced object.
        Returns:
        The type of the referenced object.
      • getJavaClass

        public static Class getJavaClass()
      • getAttribute

        public String getAttribute()
      • getInstanceId

        public String getInstanceId()
      • isInstance

        public boolean isInstance()
      • isAttribute

        public boolean isAttribute()