Class Profile

  • All Implemented Interfaces:
    java.io.Serializable

    public class Profile
    extends IdentifiableElement
    implements java.io.Serializable
    <p>Java class for Profile complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="Profile"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element name="Description" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element name="principals" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="properties" type="{http://flower.com/docs/domain/common}Property" maxOccurs="unbounded"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Profile()
      Default no-arg constructor abc
      Profile​(Id id, java.lang.String name, java.lang.String description, java.util.List<java.lang.String> principals, java.util.List<Property> properties)
      Fully-initialising value constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.lang.String getDescription()
      Gets the value of the description property.
      java.lang.String getName()
      Gets the value of the name property.
      java.util.List<java.lang.String> getPrincipals()
      Gets the value of the principals property.
      java.util.List<Property> getProperties()
      Gets the value of the properties property.
      int hashCode()  
      void setDescription​(java.lang.String value)
      Sets the value of the description property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setPrincipals​(java.util.List<java.lang.String> value)  
      void setProperties​(java.util.List<Property> value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • description

        protected java.lang.String description
      • principals

        protected java.util.List<java.lang.String> principals
      • properties

        protected java.util.List<Property> properties
    • Constructor Detail

      • Profile

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

        public Profile​(Id id,
                       java.lang.String name,
                       java.lang.String description,
                       java.util.List<java.lang.String> principals,
                       java.util.List<Property> properties)
        Fully-initialising value constructor
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getDescription

        public java.lang.String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(java.lang.String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • getPrincipals

        public java.util.List<java.lang.String> getPrincipals()
        Gets the value of the principals 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 principals property. <p> For example, to add a new item, do as follows: <pre> getPrincipals().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list String
      • getProperties

        public java.util.List<Property> getProperties()
        Gets the value of the properties 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 properties property. <p> For example, to add a new item, do as follows: <pre> getProperties().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Property
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • setPrincipals

        public void setPrincipals​(java.util.List<java.lang.String> value)
      • setProperties

        public void setProperties​(java.util.List<Property> value)