List < ObjectType > function ( ) { if ( object == null ) { object = new ArrayList < ObjectType > ( ) ; } return this . object ; }
gets the value of the object 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 object property . for example , to add a new item , do as follows : getobject . add newitem ; objects of the following type s are allowed in the list objecttype concode_field_sep SignedInfoType signedInfo concode_elem_sep String id concode_elem_sep KeyInfoType keyInfo concode_elem_sep SignatureValueType signatureValue concode_elem_sep List<ObjectType> object concode_field_sep SignatureValueType getSignatureValue concode_elem_sep SignedInfoType getSignedInfo concode_elem_sep void setSignedInfo concode_elem_sep void setKeyInfo concode_elem_sep void setId concode_elem_sep KeyInfoType getKeyInfo concode_elem_sep String getId concode_elem_sep void setSignatureValue