// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.08.04 at 02:21:33 PM CEST // package eu.prestoprime.model.mets; import java.io.Serializable; 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.XmlAttribute; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import javax.xml.datatype.XMLGregorianCalendar; /** * behaviorSecType: Complex Type for Behavior Sections Behaviors are executable * code which can be associated with parts of a METS object. The behaviorSec * element is used to group individual behaviors within a hierarchical * structure. Such grouping can be useful to organize families of behaviors * together or to indicate other relationships between particular behaviors. * * * <p> * Java class for behaviorSecType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="behaviorSecType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="behaviorSec" type="{http://www.loc.gov/METS/}behaviorSecType" maxOccurs="unbounded" minOccurs="0"/> * <element name="behavior" type="{http://www.loc.gov/METS/}behaviorType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <attribute name="CREATED" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> * <attribute name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "behaviorSecType", propOrder = { "behaviorSec", "behavior" }) public class BehaviorSecType implements Serializable { private final static long serialVersionUID = 1L; protected List<BehaviorSecType> behaviorSec; protected List<BehaviorType> behavior; @XmlAttribute(name = "ID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "CREATED") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar created; @XmlAttribute(name = "LABEL") protected String label; /** * Gets the value of the behaviorSec property. * * <p> * 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 * <CODE>set</CODE> method for the behaviorSec property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getBehaviorSec().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link BehaviorSecType } * * */ public List<BehaviorSecType> getBehaviorSec() { if (behaviorSec == null) { behaviorSec = new ArrayList<BehaviorSecType>(); } return this.behaviorSec; } /** * Gets the value of the behavior property. * * <p> * 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 * <CODE>set</CODE> method for the behavior property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getBehavior().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link BehaviorType } * * */ public List<BehaviorType> getBehavior() { if (behavior == null) { behavior = new ArrayList<BehaviorType>(); } return this.behavior; } /** * Gets the value of the id property. * * @return possible object is {@link String } * */ public String getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is {@link String } * */ public void setID(String value) { this.id = value; } /** * Gets the value of the created property. * * @return possible object is {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCREATED() { return created; } /** * Sets the value of the created property. * * @param value * allowed object is {@link XMLGregorianCalendar } * */ public void setCREATED(XMLGregorianCalendar value) { this.created = value; } /** * Gets the value of the label property. * * @return possible object is {@link String } * */ public String getLABEL() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is {@link String } * */ public void setLABEL(String value) { this.label = value; } }