Class Role


  • public class Role
    extends java.lang.Object

    Java class for role complex type.

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

     <complexType name="role">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <choice>
               <element name="title" type="{}i18nStringType"/>
               <element name="name" type="{}i18nStringType"/>
             </choice>
             <element name="event" type="{}event" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Summary

      Constructors 
      Constructor Description
      Role()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Event> getEvent()
      Gets the value of the event property.
      java.lang.String getId()
      Gets the value of the id property.
      I18NStringType getName()
      Gets the value of the name property.
      I18NStringType getTitle()
      Gets the value of the title property.
      void setId​(java.lang.String value)
      Sets the value of the id property.
      void setName​(I18NStringType value)
      Sets the value of the name property.
      void setTitle​(I18NStringType value)
      Sets the value of the title property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Role

        public Role()
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(java.lang.String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • setTitle

        public void setTitle​(I18NStringType value)
        Sets the value of the title property.
        Parameters:
        value - allowed object is I18NStringType
      • setName

        public void setName​(I18NStringType value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is I18NStringType
      • getEvent

        public java.util.List<Event> getEvent()
        Gets the value of the event property.

        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 set method for the event property.

        For example, to add a new item, do as follows:

            getEvent().add(newItem);
         

        Objects of the following type(s) are allowed in the list Event