org.kuali.student.r2.common.dto
Class AttributeInfo

java.lang.Object
  extended by org.kuali.student.r2.common.dto.AttributeInfo
All Implemented Interfaces:
Serializable, Attribute, HasId, HasPrimaryKey

public final class AttributeInfo
extends Object
implements Attribute, Serializable

The DTO for an Attribute.

Author:
Kuali Student Services team
See Also:
Serialized Form

Constructor Summary
AttributeInfo()
          Constructs a new AttributeInfo.
AttributeInfo(Attribute attribute)
          Constructs a new AttributeInfo from another Attribute.
AttributeInfo(String key, String value)
           
 
Method Summary
 String getId()
          The internally assigned id to this key/value pair.
 String getKey()
          The key that identifies the name of the dynamic attribute.
 String getValue()
          The value of the dynamic attribute.
 void setId(String id)
           
 void setKey(String key)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeInfo

public AttributeInfo()
Constructs a new AttributeInfo.


AttributeInfo

public AttributeInfo(Attribute attribute)
Constructs a new AttributeInfo from another Attribute.

Parameters:
attribute - the attribute to copy

AttributeInfo

public AttributeInfo(String key,
                     String value)
Method Detail

getId

public String getId()
Description copied from interface: Attribute
The internally assigned id to this key/value pair.

Specified by:
getId in interface Attribute
Specified by:
getId in interface HasId

setId

public void setId(String id)

getKey

public String getKey()
Description copied from interface: Attribute
The key that identifies the name of the dynamic attribute. Note: this key does not have to be unique and could be repeated to simulate a list.

Specified by:
getKey in interface Attribute

setKey

public void setKey(String key)

getValue

public String getValue()
Description copied from interface: Attribute
The value of the dynamic attribute.

Specified by:
getValue in interface Attribute

setValue

public void setValue(String value)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.