org.jasig.services.persondir.support.xml.om
Class Attribute

java.lang.Object
  extended by org.jasig.services.persondir.support.xml.om.Attribute

public class Attribute
extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}value" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String key
           
protected  List<String> value
           
 
Constructor Summary
Attribute()
           
 
Method Summary
 String getKey()
          Gets the value of the key property.
 List<String> getValue()
          Gets the value of the value property.
 void setKey(String value)
          Sets the value of the key property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected List<String> value

key

protected String key
Constructor Detail

Attribute

public Attribute()
Method Detail

getValue

public List<String> 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 String


getKey

public String getKey()
Gets the value of the key property.

Returns:
possible object is String

setKey

public void setKey(String value)
Sets the value of the key property.

Parameters:
value - allowed object is String


Copyright © 2012 Jasig. All Rights Reserved.