com.metsci.glimpse.dspl.schema
Class Attribute

java.lang.Object
  extended by com.metsci.glimpse.dspl.schema.Attribute

public class Attribute
extends java.lang.Object

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

Attribute

public Attribute()
Method Detail

getInfo

public Info getInfo()
Gets the value of the info property.

Returns:
possible object is Info

setInfo

public void setInfo(Info value)
Sets the value of the info property.

Parameters:
value - allowed object is Info

getType

public Attribute.Type getType()
Gets the value of the type property.

Returns:
possible object is Attribute.Type

setType

public void setType(Attribute.Type value)
Sets the value of the type property.

Parameters:
value - allowed object is Attribute.Type

getValue

public java.util.List<Value> getValue()
Gets the value of the value 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 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


getConceptValue

public Attribute.ConceptValue getConceptValue()
Gets the value of the conceptValue property.

Returns:
possible object is Attribute.ConceptValue

setConceptValue

public void setConceptValue(Attribute.ConceptValue value)
Sets the value of the conceptValue property.

Parameters:
value - allowed object is Attribute.ConceptValue

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getConceptRef

public javax.xml.namespace.QName getConceptRef()
Gets the value of the conceptRef property.

Returns:
possible object is QName

setConceptRef

public void setConceptRef(javax.xml.namespace.QName value)
Sets the value of the conceptRef property.

Parameters:
value - allowed object is QName

getAttributeProperties

public Attribute.AttributeProperties getAttributeProperties()
                                                     throws javax.xml.bind.JAXBException,
                                                            java.io.IOException,
                                                            DsplException
Throws:
javax.xml.bind.JAXBException
java.io.IOException
DsplException

getParentConcept

public Concept getParentConcept()

setParentConcept

public void setParentConcept(Concept parentConcept)

getConcept

public Concept getConcept()
                   throws javax.xml.bind.JAXBException,
                          java.io.IOException,
                          DsplException
Throws:
javax.xml.bind.JAXBException
java.io.IOException
DsplException

getNameEnglish

public java.lang.String getNameEnglish()

getValueEnglish

public java.lang.String getValueEnglish()


Copyright © 2012 Metron, Inc.. All Rights Reserved.