Class Entity

    • Method Detail

      • getLabel

        public List<LangString> getLabel()
        Description copied from interface: HasLabel
        Gets the value of the label property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is not a set method for the label property.

        For example, to add a new item, do as follows:

            getLabel().add(newItem);
         

        Objects of the following type(s) are allowed in the list LangString

        Specified by:
        getLabel in interface HasLabel
        Returns:
        a List of strings
      • getLocation

        public List<Location> getLocation()
        Description copied from interface: HasLocation
        Gets the value of the location property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification made to the returned list will be present inside the object. This is why there is not a set method for the location property.

        For example, to add a new item, do as follows:

            getLocation().add(newItem);
         
        Specified by:
        getLocation in interface HasLocation
        Returns:
        a list of objects of type Location
      • getType

        public List<Type> getType()
        Description copied from interface: HasType
        Gets the value of the prov:type property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the type property.

        For example, to add a new item, do as follows:

            getType().add(newItem);
         

        Objects of the following type(s) are allowed in the list Type

        Specified by:
        getType in interface HasType
        Returns:
        a List of Type values
      • getOther

        public List<Other> getOther()
        Description copied from interface: HasOther
        Gets the list of non-PROV attributes.

        This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification made to the returned list will be present inside the object. This is why there is not a set method for the role property.

        For example, to add a new item, do as follows:

            getOther().add(newItem);
         
        Specified by:
        getOther in interface HasOther
        Returns:
        a list of objects of type Other
      • hashCode

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

        public void setIndexedAttributes​(Object qn,
                                         Set<Attribute> attributes)