java.lang.Object
org.odpi.openmetadata.accessservices.devops.metadataelements.ITProfileElement
All Implemented Interfaces:
Serializable, MetadataElement

public class ITProfileElement extends Object implements Serializable, MetadataElement
The ITProfileElement describes a system, any contact methods and linked userIds.
See Also:
  • Constructor Details

    • ITProfileElement

      public ITProfileElement()
      Default Constructor
    • ITProfileElement

      public ITProfileElement(ITProfileElement template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
  • Method Details

    • getElementHeader

      public ElementHeader getElementHeader()
      Return the element header associated with the properties.
      Specified by:
      getElementHeader in interface MetadataElement
      Returns:
      element header object
    • setElementHeader

      public void setElementHeader(ElementHeader elementHeader)
      Set up the element header associated with the properties.
      Specified by:
      setElementHeader in interface MetadataElement
      Parameters:
      elementHeader - element header object
    • getProfileProperties

      public ITProfileProperties getProfileProperties()
      Return the properties of the profile.
      Returns:
      properties
    • setProfileProperties

      public void setProfileProperties(ITProfileProperties profileProperties)
      Set up the profile properties.
      Parameters:
      profileProperties - properties
    • getContactMethods

      public List<ContactMethodElement> getContactMethods()
      Return the contact methods for this profile.
      Returns:
      list of contact methods
    • setContactMethods

      public void setContactMethods(List<ContactMethodElement> contactMethods)
      Set up the contact methods for this profile.
      Parameters:
      contactMethods - list of contact methods
    • getUserIdentities

      public List<ProfileIdentityElement> getUserIdentities()
      Return the list of user identities for this profile.
      Returns:
      list of userIds
    • setUserIdentities

      public void setUserIdentities(List<ProfileIdentityElement> userIdentities)
      Set up the list of user identities for this profile.
      Parameters:
      userIdentities - list of userIds
    • getLinkedInfrastructure

      public List<ElementStub> getLinkedInfrastructure()
      Return the stubs of the pieces of IT infrastructure linked to the profile.
      Returns:
      list of element stubs
    • setLinkedInfrastructure

      public void setLinkedInfrastructure(List<ElementStub> linkedInfrastructure)
      Set up the stubs of the pieces of IT infrastructure linked to the profile.
      Parameters:
      linkedInfrastructure - list of element stubs
    • 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