org.jutil.text.html
Class InputCreditCardYear

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by org.jutil.util.AttributesImpl
              extended by org.jutil.text.html.Element
                  extended by org.jutil.text.html.InputCreditCardYear
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, java.util.Map, VersionedObject, Attributes

public class InputCreditCardYear
extends Element

See Also:
Serialized Form

Constructor Summary
InputCreditCardYear(java.lang.String cardYearCode)
           
InputCreditCardYear(java.lang.String cardYearCode, java.lang.String name)
           
InputCreditCardYear(java.lang.String cardYearCode, java.lang.String name, java.lang.String[] years)
           
 
Method Summary
 void clearData()
           
 java.lang.Object getValue()
           
 Version getVersion()
          Overide the superclass getVersion() to return this sub classe's Version
 void readExternal(java.io.ObjectInput in)
           
 void removeAttribute(java.lang.String name)
           
 void setAttribute(java.lang.String name, java.lang.Object attr)
           
 void setValue(java.lang.Object value)
           
 void setValue(java.lang.String cardYearCode)
           
 java.lang.String toString()
           
 java.lang.String toStringAttributes()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class org.jutil.text.html.Element
setAttributes
 
Methods inherited from class org.jutil.util.AttributesImpl
clearAttributes, elements, getAttribute, getAttribute, keys, removeAttribute, setAttribute, size
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, rehash, remove, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputCreditCardYear

public InputCreditCardYear(java.lang.String cardYearCode)

InputCreditCardYear

public InputCreditCardYear(java.lang.String cardYearCode,
                           java.lang.String name)

InputCreditCardYear

public InputCreditCardYear(java.lang.String cardYearCode,
                           java.lang.String name,
                           java.lang.String[] years)
Method Detail

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object attr)
Specified by:
setAttribute in interface Attributes
Overrides:
setAttribute in class AttributesImpl

removeAttribute

public void removeAttribute(java.lang.String name)
Specified by:
removeAttribute in interface Attributes
Overrides:
removeAttribute in class AttributesImpl

toStringAttributes

public java.lang.String toStringAttributes()
Overrides:
toStringAttributes in class Element

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in class Element

setValue

public void setValue(java.lang.String cardYearCode)

clearData

public void clearData()
Specified by:
clearData in class Element

getValue

public java.lang.Object getValue()
Specified by:
getValue in class Element

toString

public java.lang.String toString()
Specified by:
toString in class Element

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class Element
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class Element
Throws:
java.io.IOException
java.lang.ClassNotFoundException

getVersion

public Version getVersion()
Overide the superclass getVersion() to return this sub classe's Version

Specified by:
getVersion in interface VersionedObject
Overrides:
getVersion in class Element