de.init.its.ds
Class ItsAttribute

java.lang.Object
  extended by de.init.its.ds.ItsAttribute
All Implemented Interfaces:
IitsAttribute, java.io.Serializable

public class ItsAttribute
extends java.lang.Object
implements IitsAttribute

Its Attribute Data Container Class

Author:
m.kandora
See Also:
Serialized Form

Constructor Summary
ItsAttribute()
           
ItsAttribute(java.lang.String itsAttributeName, java.lang.String itsAttributeValue)
           
 
Method Summary
 IitsAttribute copy()
          Returns a copy of this attribute
 void copy(IitsAttribute attribute)
          copy IiTsAttribute values
 boolean equals(java.lang.Object obj)
           
 IitsAttribute getDefaults()
          Returns the Default value for this its attribute
 java.lang.String getItsAttributeName()
          Returns the its tag attribute name
 java.lang.String getItsAttributeValue()
          Returns the its tag attribute value
 int hashCode()
           
 void setAttribute(java.lang.String name, java.lang.String value)
          Sets the attribute value and name
 void setAttributeName(java.lang.String name)
          Sets the its attribute name for this Attribute
 void setAttributeValue(java.lang.String value)
          Sets the attribute value
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItsAttribute

public ItsAttribute()

ItsAttribute

public ItsAttribute(java.lang.String itsAttributeName,
                    java.lang.String itsAttributeValue)
Method Detail

getItsAttributeName

public java.lang.String getItsAttributeName()
Description copied from interface: IitsAttribute
Returns the its tag attribute name

Specified by:
getItsAttributeName in interface IitsAttribute
Returns:

getItsAttributeValue

public java.lang.String getItsAttributeValue()
Description copied from interface: IitsAttribute
Returns the its tag attribute value

Specified by:
getItsAttributeValue in interface IitsAttribute
Returns:

getDefaults

public IitsAttribute getDefaults()
Description copied from interface: IitsAttribute
Returns the Default value for this its attribute

Specified by:
getDefaults in interface IitsAttribute
Returns:

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)
Description copied from interface: IitsAttribute
Sets the attribute value and name

Specified by:
setAttribute in interface IitsAttribute

copy

public void copy(IitsAttribute attribute)
Description copied from interface: IitsAttribute
copy IiTsAttribute values

Specified by:
copy in interface IitsAttribute

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

copy

public IitsAttribute copy()
Description copied from interface: IitsAttribute
Returns a copy of this attribute

Specified by:
copy in interface IitsAttribute
Returns:

setAttributeName

public void setAttributeName(java.lang.String name)
Description copied from interface: IitsAttribute
Sets the its attribute name for this Attribute

Specified by:
setAttributeName in interface IitsAttribute
Parameters:
name - the its name

setAttributeValue

public void setAttributeValue(java.lang.String value)
Description copied from interface: IitsAttribute
Sets the attribute value

Specified by:
setAttributeValue in interface IitsAttribute
Parameters:
value - the its attribute value

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object