org.sdmx.resources.sdmxml.schemas.v2_0.common
Class MemberType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.common.MemberType

public class MemberType
extends Object

Member describes the constrained component - which can be a dimension, an attribute, a metadata attribute, or a measure. This must agree with the metadata structure definition or key family referenced by the Provision Agreement's Dataflow or Metadataflow. The isIncluded attribute indicates whether the Member is listing included or excluded values for each component, as seen against the full valid set described in the key family. When used to describe reported metadata, the MemberValue may be omitted in cases where no specification is made regarding the representation of the concept (as is the case with un-coded metadata attributes). Otherwise, MemberValue must be included.

Java class for MemberType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MemberType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ComponentRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
         <element name="MemberValue" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}MemberValueType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="isIncluded" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String componentRef
           
protected  boolean isIncluded
           
protected  List<MemberValueType> memberValue
           
 
Constructor Summary
MemberType()
           
 
Method Summary
 String getComponentRef()
          Gets the value of the componentRef property.
 List<MemberValueType> getMemberValue()
          Gets the value of the memberValue property.
 boolean isIsIncluded()
          Gets the value of the isIncluded property.
 void setComponentRef(String value)
          Sets the value of the componentRef property.
 void setIsIncluded(boolean value)
          Sets the value of the isIncluded property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

componentRef

protected String componentRef

memberValue

protected List<MemberValueType> memberValue

isIncluded

protected boolean isIncluded
Constructor Detail

MemberType

public MemberType()
Method Detail

getComponentRef

public String getComponentRef()
Gets the value of the componentRef property.

Returns:
possible object is String

setComponentRef

public void setComponentRef(String value)
Sets the value of the componentRef property.

Parameters:
value - allowed object is String

getMemberValue

public List<MemberValueType> getMemberValue()
Gets the value of the memberValue 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 memberValue property.

For example, to add a new item, do as follows:

    getMemberValue().add(newItem);
 

Objects of the following type(s) are allowed in the list MemberValueType


isIsIncluded

public boolean isIsIncluded()
Gets the value of the isIncluded property.


setIsIncluded

public void setIsIncluded(boolean value)
Sets the value of the isIncluded property.



Copyright © 2012. All Rights Reserved.