Class ContactRoleType


  • public class ContactRoleType
    extends Object

    Java class for ContactRoleType complex type.

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

     <complexType name="ContactRoleType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="contact" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
             <element name="role" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
           </sequence>
           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • contact

        protected Object contact
      • id

        protected long id
    • Constructor Detail

      • ContactRoleType

        public ContactRoleType()
        Default no-arg constructor
      • ContactRoleType

        public ContactRoleType​(Object contact,
                               String role,
                               long id)
        Fully-initialising value constructor
    • Method Detail

      • getContact

        public Object getContact()
        Gets the value of the contact property.
        Returns:
        possible object is Object
      • setContact

        public void setContact​(Object value)
        Sets the value of the contact property.
        Parameters:
        value - allowed object is Object
      • getRole

        public String getRole()
        Gets the value of the role property.
        Returns:
        possible object is String
      • setRole

        public void setRole​(String value)
        Sets the value of the role property.
        Parameters:
        value - allowed object is String
      • getId

        public long getId()
        Gets the value of the id property.
      • setId

        public void setId​(long value)
        Sets the value of the id property.