edu.vt.middleware.ed
Class AbstractAttribute

java.lang.Object
  extended by edu.vt.middleware.ed.AbstractDataType
      extended by edu.vt.middleware.ed.AbstractAttribute
All Implemented Interfaces:
Attribute, DataType, Serializable, Comparable<DataType>
Direct Known Subclasses:
AddressAttribute, EmailAttribute, EntitlementAttribute, GroupAttribute, PersonAttribute, ServiceAttribute

public abstract class AbstractAttribute
extends AbstractDataType
implements Attribute, Serializable

Contains methods common to all attributes.

Version:
$Revision: 6592 $
Author:
Daniel Fisher
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serialization version marker
 
Fields inherited from class edu.vt.middleware.ed.AbstractDataType
HASH_CODE_SEED
 
Constructor Summary
AbstractAttribute()
           
 
Method Summary
 String getAttributeDescription()
          This returns the attribute description.
 String getAttributeName()
          This returns the attribute name.
 void setAttributeDescription(String s)
          This sets the attribute description.
 void setAttributeName(String s)
          This sets the attribute name.
 
Methods inherited from class edu.vt.middleware.ed.AbstractDataType
compareTo, equals, getDataType, getTypeCode, getTypeName, hashCode, setTypeCode, setTypeName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serialization version marker

See Also:
Constant Field Values
Constructor Detail

AbstractAttribute

public AbstractAttribute()
Method Detail

getAttributeName

public String getAttributeName()
This returns the attribute name.

Specified by:
getAttributeName in interface Attribute
Returns:
String - name

setAttributeName

public void setAttributeName(String s)
This sets the attribute name.

Specified by:
setAttributeName in interface Attribute
Parameters:
s - String to set

getAttributeDescription

public String getAttributeDescription()
This returns the attribute description.

Specified by:
getAttributeDescription in interface Attribute
Returns:
String - description

setAttributeDescription

public void setAttributeDescription(String s)
This sets the attribute description.

Specified by:
setAttributeDescription in interface Attribute
Parameters:
s - String to set


Copyright © 2008 Virginia Tech. All Rights Reserved.