it.sistematica.isharedoc.sharecloud.model.replica.legaldoc.idc
Class Agent

java.lang.Object
  extended by it.sistematica.isharedoc.sharecloud.model.replica.legaldoc.idc.Agent

public class Agent
extends java.lang.Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}AgentName"/>
         <element ref="{}Agent_ID" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{}MoreInfo" minOccurs="0"/>
       </sequence>
       <attribute name="type" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="person"/>
             <enumeration value="organization"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="role" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="Delegate"/>
             <enumeration value="PreservationManager"/>
             <enumeration value="Operator"/>
             <enumeration value="PublicOfficer"/>
             <enumeration value="OtherRole"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="otherRole" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<AgentID> agentID
           
protected  AgentName agentName
           
protected  MoreInfo moreInfo
           
protected  java.lang.String otherRole
           
protected  java.lang.String role
           
protected  java.lang.String type
           
 
Constructor Summary
Agent()
           
 
Method Summary
 java.util.List<AgentID> getAgentID()
          Gets the value of the agentID property.
 AgentName getAgentName()
          Gets the value of the agentName property.
 MoreInfo getMoreInfo()
          Gets the value of the moreInfo property.
 java.lang.String getOtherRole()
          Gets the value of the otherRole property.
 java.lang.String getRole()
          Gets the value of the role property.
 java.lang.String getType()
          Gets the value of the type property.
 void setAgentName(AgentName value)
          Sets the value of the agentName property.
 void setMoreInfo(MoreInfo value)
          Sets the value of the moreInfo property.
 void setOtherRole(java.lang.String value)
          Sets the value of the otherRole property.
 void setRole(java.lang.String value)
          Sets the value of the role property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agentName

protected AgentName agentName

agentID

protected java.util.List<AgentID> agentID

moreInfo

protected MoreInfo moreInfo

type

protected java.lang.String type

role

protected java.lang.String role

otherRole

protected java.lang.String otherRole
Constructor Detail

Agent

public Agent()
Method Detail

getAgentName

public AgentName getAgentName()
Gets the value of the agentName property.

Returns:
possible object is AgentName

setAgentName

public void setAgentName(AgentName value)
Sets the value of the agentName property.

Parameters:
value - allowed object is AgentName

getAgentID

public java.util.List<AgentID> getAgentID()
Gets the value of the agentID 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 agentID property.

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

    getAgentID().add(newItem);
 

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


getMoreInfo

public MoreInfo getMoreInfo()
Gets the value of the moreInfo property.

Returns:
possible object is MoreInfo

setMoreInfo

public void setMoreInfo(MoreInfo value)
Sets the value of the moreInfo property.

Parameters:
value - allowed object is MoreInfo

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getRole

public java.lang.String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(java.lang.String value)
Sets the value of the role property.

Parameters:
value - allowed object is String

getOtherRole

public java.lang.String getOtherRole()
Gets the value of the otherRole property.

Returns:
possible object is String

setOtherRole

public void setOtherRole(java.lang.String value)
Sets the value of the otherRole property.

Parameters:
value - allowed object is String