blob: 53d24a09c94af9b7c0355dff5018c1d502ac4cb6 [file] [log] [blame]
package org.eclipse.om2m.commons.obix;
import java.util.ArrayList;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* List oBIX object
* @author Francois Aissaoui
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "list")
@XmlRootElement
public class List extends Obj{
@XmlAttribute(name = "of")
protected String of;
@XmlAttribute(name = "min")
protected Integer min;
@XmlAttribute(name = "max")
protected Integer max;
@XmlAttribute(name = "displayName")
protected String displayName;
@XmlAttribute(name = "display")
protected String display;
@XmlAttribute(name = "icon")
@XmlSchemaType(name = "anyURI")
protected String icon;
@XmlAttribute(name = "precision")
protected Integer precision;
@XmlAttribute(name = "status")
protected Status status;
@XmlAttribute(name = "unit")
protected String unit;
@XmlAttribute(name = "writable")
protected Boolean writable;
@XmlAttribute(name = "href")
protected String href;
@XmlAttribute(name = "null")
protected Boolean _null;
public List(){}
/**
* Gets the value of the objGroup 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 objGroup property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getObjGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Obj }
* {@link Bool }
* {@link Int }
* {@link Real }
* {@link Str }
* {@link Enum }
* {@link Abstime }
* {@link Reltime }
* {@link Date }
* {@link Time }
* {@link Uri }
* {@link List }
* {@link Ref }
* {@link Err }
* {@link Op }
* {@link Feed }
*
*
*/
/**
* Obtient la valeur de la propriété of.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOf() {
return of;
}
/**
* Définit la valeur de la propriété of.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOf(String value) {
this.of = value;
}
/**
* Obtient la valeur de la propriété min.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMin() {
return min;
}
/**
* Définit la valeur de la propriété min.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMin(Integer value) {
this.min = value;
}
/**
* Obtient la valeur de la propriété max.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMax() {
return max;
}
/**
* Définit la valeur de la propriété max.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMax(Integer value) {
this.max = value;
}
/**
* Obtient la valeur de la propriété displayName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDisplayName() {
return displayName;
}
/**
* Définit la valeur de la propriété displayName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDisplayName(String value) {
this.displayName = value;
}
/**
* Obtient la valeur de la propriété display.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDisplay() {
return display;
}
/**
* Définit la valeur de la propriété display.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDisplay(String value) {
this.display = value;
}
/**
* Obtient la valeur de la propriété icon.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIcon() {
return icon;
}
/**
* Définit la valeur de la propriété icon.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIcon(String value) {
this.icon = value;
}
/**
* Obtient la valeur de la propriété precision.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPrecision() {
return precision;
}
/**
* Définit la valeur de la propriété precision.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPrecision(Integer value) {
this.precision = value;
}
/**
* Obtient la valeur de la propriété status.
*
* @return
* possible object is
* {@link Status }
*
*/
public Status getStatus() {
return status;
}
/**
* Définit la valeur de la propriété status.
*
* @param value
* allowed object is
* {@link Status }
*
*/
public void setStatus(Status value) {
this.status = value;
}
/**
* Obtient la valeur de la propriété unit.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnit() {
return unit;
}
/**
* Définit la valeur de la propriété unit.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnit(String value) {
this.unit = value;
}
/**
* Obtient la valeur de la propriété writable.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isWritable() {
return writable;
}
/**
* Définit la valeur de la propriété writable.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setWritable(Boolean value) {
this.writable = value;
}
/**
* Obtient la valeur de la propriété name.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Définit la valeur de la propriété name.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Obtient la valeur de la propriété href.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Définit la valeur de la propriété href.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = value;
}
/**
* Obtient la valeur de la propriété null.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNull() {
return _null;
}
/**
* Définit la valeur de la propriété null.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setNull(Boolean value) {
this._null = value;
}
}