Class UserRoleType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable

    @CodingStyleguideUnaware
    public class UserRoleType
    extends Object
    implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
     <?xml version="1.0" encoding="UTF-8"?><ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">User
                                            Role. Details</ccts:DictionaryEntryName>
     
     <?xml version="1.0" encoding="UTF-8"?><ccts:DefinitionText xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Identifies
                                            the type of role that a user performs or is authorized to
                                            perform.</ccts:DefinitionText>
     
     <?xml version="1.0" encoding="UTF-8"?><ccts:UsageRule xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">This is used in
                                            pre-provisioning a partner system with user account information. See
                                            UserAccount-noun.</ccts:UsageRule>
     

    Java class for UserRoleType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="UserRoleType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="RoleCode" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
             <element ref="{http://www.hr-xml.org/3}RoleName" minOccurs="0"/>
             <element ref="{http://www.hr-xml.org/3}UserArea" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     

    This class was annotated by ph-jaxb22-plugin -Xph-annotate

    This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode

    This class contains methods created by ph-jaxb22-plugin -Xph-tostring

    This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2

    This class contains methods created by ph-jaxb22-plugin -Xph-value-extender

    See Also:
    Serialized Form
    • Constructor Detail

      • UserRoleType

        public UserRoleType()
        Default constructor
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
    • Method Detail

      • getRoleCode

        @Nullable
        public Object getRoleCode()
        Gets the value of the roleCode property.
        Returns:
        possible object is Object
      • setRoleCode

        public void setRoleCode​(@Nullable
                                Object value)
        Sets the value of the roleCode property.
        Parameters:
        value - allowed object is Object
      • getRoleName

        @Nullable
        public TextType getRoleName()
        Gets the value of the roleName property.
        Returns:
        possible object is TextType
      • setRoleName

        public void setRoleName​(@Nullable
                                TextType value)
        Sets the value of the roleName property.
        Parameters:
        value - allowed object is TextType
      • setUserArea

        public void setUserArea​(@Nullable
                                UserAreaType value)
        Sets the value of the userArea property.
        Parameters:
        value - allowed object is UserAreaType
      • equals

        public boolean equals​(Object o)
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Created by ph-jaxb22-plugin -Xph-tostring
        Overrides:
        toString in class Object
      • cloneTo

        public void cloneTo​(@Nonnull
                            UserRoleType ret)
        This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2
        Parameters:
        ret - The target object to clone to. May not be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public UserRoleType clone()
        Created by ph-jaxb22-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class Object
        Returns:
        The cloned object. Never null.
      • setRoleName

        @Nonnull
        public TextType setRoleName​(@Nullable
                                    String valueParam)
        Special setter with value of type String
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
        Parameters:
        valueParam - The value to be set. May be null.
        Returns:
        The created intermediary object of type TextType and never null
      • getRoleNameValue

        @Nullable
        public String getRoleNameValue()
        Get the value of the contained TextType object
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
        Returns:
        Either the value of the contained TextType object or null