gets the value of the agentidentifier 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 agentidentifier property . for example , to add a new item , do as follows : getagentidentifier . add newitem ; objects of the following type s are allowed in the list agentidentifiercomplextype concode_field_sep String agentType concode_elem_sep List<MdSecDefinition> mdSec concode_elem_sep List<LinkingEventIdentifierComplexType> linkingEventIdentifier concode_elem_sep List<ExtensionComplexType> agentExtension concode_elem_sep List<String> agentName concode_elem_sep String xmlID concode_elem_sep List<LinkingRightsStatementIdentifierComplexType> linkingRightsStatementIdentifier concode_elem_sep String version concode_elem_sep List<String> agentNote concode_elem_sep List<AgentIdentifierComplexType> agentIdentifier concode_field_sep String getAgentType concode_elem_sep void setAgentType concode_elem_sep String getVersion concode_elem_sep void setVersion concode_elem_sep List<LinkingRightsStatementIdentifierComplexType> getLinkingRightsStatementIdentifier concode_elem_sep List<String> getAgentNote concode_elem_sep String getXmlID concode_elem_sep List<MdSecDefinition> getMdSec concode_elem_sep void setXmlID concode_elem_sep List<ExtensionComplexType> getAgentExtension concode_elem_sep List<LinkingEventIdentifierComplexType> getLinkingEventIdentifier concode_elem_sep List<String> getAgentName
List < AgentIdentifierComplexType > function ( ) { if ( agentIdentifier == null ) { agentIdentifier = new ArrayList < AgentIdentifierComplexType > ( ) ; } return this . agentIdentifier ; }