Class ProfileLocationElement

  • All Implemented Interfaces:
    Serializable

    public class ProfileLocationElement
    extends Object
    implements Serializable
    ProfileLocationElement contains the properties and header for a relationship between a profile and a user identity retrieved from the metadata repository.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProfileLocationElement

        public ProfileLocationElement()
        Default constructor
      • ProfileLocationElement

        public ProfileLocationElement​(ProfileLocationElement template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getProperties

        public ProfileLocationProperties getProperties()
        Return the properties from the profile location relationship.
        Returns:
        profile identity
      • setProperties

        public void setProperties​(ProfileLocationProperties properties)
        Set up the properties from the profile location relationship.
        Parameters:
        properties - profile identity
      • getLocation

        public ElementStub getLocation()
        Return the properties of the location.
        Returns:
        properties
      • setLocation

        public void setLocation​(ElementStub location)
        Set up the userId properties.
        Parameters:
        location - properties
      • toString

        public String toString()
        JSON-style toString
        Overrides:
        toString in class Object
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object
        Returns:
        int hash code