Class Identity

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Group, User

    public abstract class Identity
    extends IdentifiableElement
    implements java.io.Serializable
    An identity of an individual or a corporate body <p>Java class for Identity complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="Identity"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="mail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="groups" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="profiles" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="attributes" type="{http://flower.com/docs/domain/security}IdentityAttribute" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Identity()
      Default no-arg constructor abc
      Identity​(Id id, java.lang.String displayName, java.lang.String mail, java.util.List<Id> groups, java.util.List<Id> profiles, java.util.List<IdentityAttribute> attributes)
      Fully-initialising value constructor
    • Field Detail

      • displayName

        protected java.lang.String displayName
      • mail

        protected java.lang.String mail
      • groups

        protected java.util.List<Id> groups
      • profiles

        protected java.util.List<Id> profiles
    • Constructor Detail

      • Identity

        public Identity()
        Default no-arg constructor abc
      • Identity

        public Identity​(Id id,
                        java.lang.String displayName,
                        java.lang.String mail,
                        java.util.List<Id> groups,
                        java.util.List<Id> profiles,
                        java.util.List<IdentityAttribute> attributes)
        Fully-initialising value constructor
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Gets the value of the displayName property.
        Returns:
        possible object is String
      • setDisplayName

        public void setDisplayName​(java.lang.String value)
        Sets the value of the displayName property.
        Parameters:
        value - allowed object is String
      • getMail

        public java.lang.String getMail()
        Gets the value of the mail property.
        Returns:
        possible object is String
      • setMail

        public void setMail​(java.lang.String value)
        Sets the value of the mail property.
        Parameters:
        value - allowed object is String
      • getGroups

        public java.util.List<Id> getGroups()
        Gets the value of the groups property. <p> 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 <CODE>set</CODE> method for the groups property. <p> For example, to add a new item, do as follows: <pre> getGroups().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Id
      • getProfiles

        public java.util.List<Id> getProfiles()
        Gets the value of the profiles property. <p> 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 <CODE>set</CODE> method for the profiles property. <p> For example, to add a new item, do as follows: <pre> getProfiles().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Id
      • getAttributes

        public java.util.List<IdentityAttribute> getAttributes()
        Gets the value of the attributes property. <p> 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 <CODE>set</CODE> method for the attributes property. <p> For example, to add a new item, do as follows: <pre> getAttributes().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list IdentityAttribute
      • setGroups

        public void setGroups​(java.util.List<Id> value)
      • setProfiles

        public void setProfiles​(java.util.List<Id> value)
      • setAttributes

        public void setAttributes​(java.util.List<IdentityAttribute> value)