gets the value of the version 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 version property . for example , to add a new item , do as follows : getversion . add newitem ; objects of the following type s are allowed in the list version concode_field_sep List<ManyToMany> manyToMany concode_elem_sep List<ElementCollection> elementCollection concode_elem_sep String description concode_elem_sep List<OneToOne> oneToOne concode_elem_sep List<OneToMany> oneToMany concode_elem_sep List<Id> id concode_elem_sep List<Transient> _transient concode_elem_sep List<Basic> basic concode_elem_sep List<ManyToOne> manyToOne concode_elem_sep List<Version> version concode_elem_sep List<Embedded> embedded concode_elem_sep EmbeddedId embeddedId concode_field_sep EmbeddedId getEmbeddedId concode_elem_sep List<Basic> getBasic concode_elem_sep boolean isEmpty concode_elem_sep List<Id> getId concode_elem_sep void setDescription concode_elem_sep List<ManyToOne> getManyToOne concode_elem_sep List<OneToOne> getOneToOne concode_elem_sep String getDescription concode_elem_sep List<OneToMany> getOneToMany concode_elem_sep List<ManyToMany> getManyToMany concode_elem_sep List<Embedded> getEmbedded concode_elem_sep List<ElementCollection> getElementCollection concode_elem_sep void setEmbeddedId concode_elem_sep List<Transient> getTransient concode_elem_sep Map<String,RelationField> getRelationshipFieldMap
List < Version > function ( ) { if ( version == null ) { version = new ArrayList < Version > ( ) ; } return this . version ; }