|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.dspl.schema.Attribute
public class Attribute
An attribute of a dataset or a concept.
Java class for Attribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attribute"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="info" type="{http://schemas.google.com/dspl/2010}Info" minOccurs="0"/> <element name="type" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="ref" use="required" type="{http://schemas.google.com/dspl/2010}DataType" /> <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <group ref="{http://schemas.google.com/dspl/2010}ValuesGroup" minOccurs="0"/> </sequence> <attribute name="id" type="{http://schemas.google.com/dspl/2010}LocalId" /> <attribute name="concept" type="{http://www.w3.org/2001/XMLSchema}QName" /> </restriction> </complexContent> </complexType>
Nested Class Summary | |
---|---|
static class |
Attribute.AttributeProperties
|
static class |
Attribute.ConceptValue
Java class for anonymous complex type. |
static class |
Attribute.Type
Java class for anonymous complex type. |
Constructor Summary | |
---|---|
Attribute()
|
Method Summary | |
---|---|
Attribute.AttributeProperties |
getAttributeProperties()
|
Concept |
getConcept()
|
javax.xml.namespace.QName |
getConceptRef()
Gets the value of the conceptRef property. |
Attribute.ConceptValue |
getConceptValue()
Gets the value of the conceptValue property. |
java.lang.String |
getId()
Gets the value of the id property. |
Info |
getInfo()
Gets the value of the info property. |
java.lang.String |
getNameEnglish()
|
Concept |
getParentConcept()
|
Attribute.Type |
getType()
Gets the value of the type property. |
java.util.List<Value> |
getValue()
Gets the value of the value property. |
java.lang.String |
getValueEnglish()
|
void |
setConceptRef(javax.xml.namespace.QName value)
Sets the value of the conceptRef property. |
void |
setConceptValue(Attribute.ConceptValue value)
Sets the value of the conceptValue property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setInfo(Info value)
Sets the value of the info property. |
void |
setParentConcept(Concept parentConcept)
|
void |
setType(Attribute.Type value)
Sets the value of the type property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attribute()
Method Detail |
---|
public Info getInfo()
Info
public void setInfo(Info value)
value
- allowed object is
Info
public Attribute.Type getType()
Attribute.Type
public void setType(Attribute.Type value)
value
- allowed object is
Attribute.Type
public java.util.List<Value> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute.ConceptValue
public Attribute.ConceptValue getConceptValue()
Attribute.ConceptValue
public void setConceptValue(Attribute.ConceptValue value)
value
- allowed object is
Attribute.ConceptValue
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
public javax.xml.namespace.QName getConceptRef()
QName
public void setConceptRef(javax.xml.namespace.QName value)
value
- allowed object is
QName
public Attribute.AttributeProperties getAttributeProperties() throws javax.xml.bind.JAXBException, java.io.IOException, DsplException
javax.xml.bind.JAXBException
java.io.IOException
DsplException
public Concept getParentConcept()
public void setParentConcept(Concept parentConcept)
public Concept getConcept() throws javax.xml.bind.JAXBException, java.io.IOException, DsplException
javax.xml.bind.JAXBException
java.io.IOException
DsplException
public java.lang.String getNameEnglish()
public java.lang.String getValueEnglish()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |