se.kth.infosys.smx.alma.model.UserNotes Maven / Gradle / Ivy
Show all versions of alma-rest Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.02.28 at 10:09:37 AM CET
//
package se.kth.infosys.smx.alma.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* List of the user's related notes.
* SIS: In case of new user, these segments will be marked as "external".
* In case of synchronization, this list will replace the existing external notes. Internal notes will be kept.
* POST action: The segments will be created as external or as internal according to the "segment_type" attribute.
* PUT action: Incoming internal segments (based on the "segment_type" attribute) will replace the existing internal segments.
* Incoming external segments (based on the "segment_type" attribute) will replace the existing external segments.
* If the incoming list is empty, existing segments will be deleted.
*
*
* Java class for user_notes complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="user_notes">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="user_note" type="{}user_note" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "user_notes", propOrder = {
"userNote"
})
public class UserNotes {
@XmlElement(name = "user_note")
protected List userNote;
/**
* Gets the value of the userNote 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 userNote property.
*
*
* For example, to add a new item, do as follows:
*
* getUserNote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UserNote }
*
*
*/
public List getUserNote() {
if (userNote == null) {
userNote = new ArrayList();
}
return this.userNote;
}
}