com.jp.protection.priv.products
Class PropertyInfo

java.lang.Object
  extended by com.jp.protection.priv.products.PropertyInfo
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class PropertyInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
protected  java.util.List fChoices
           
protected  int fDefaultChoiceIndex
           
protected  boolean fMandatory
           
protected  java.lang.String fName
           
protected  java.lang.String fValue
           
static long serialVersionUID
           
 
Constructor Summary
PropertyInfo()
           
PropertyInfo(java.lang.String aName, java.lang.String aDefaultValue, boolean aMandatory)
           
 
Method Summary
protected  java.lang.Object clone()
           
 java.lang.String getChoice()
           
 java.util.List getChoices()
           
 int getDefaultChoiceIndex()
           
 java.lang.String getName()
           
 java.lang.String getValue()
           
 boolean isMandatory()
           
 void setChoices(java.util.List aChoices)
           
 void setDefaultChoiceIndex(int anIndex)
           
 void setMandatory(boolean aMandatory)
           
 void setName(java.lang.String aName)
           
 void setValue(java.lang.String aValue)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

fName

protected java.lang.String fName

fValue

protected java.lang.String fValue

fMandatory

protected boolean fMandatory

fChoices

protected java.util.List fChoices

fDefaultChoiceIndex

protected int fDefaultChoiceIndex
Constructor Detail

PropertyInfo

public PropertyInfo()

PropertyInfo

public PropertyInfo(java.lang.String aName,
                    java.lang.String aDefaultValue,
                    boolean aMandatory)
Method Detail

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String aValue)

isMandatory

public boolean isMandatory()

setMandatory

public void setMandatory(boolean aMandatory)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String aName)

clone

protected java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getChoices

public java.util.List getChoices()

setChoices

public void setChoices(java.util.List aChoices)

getDefaultChoiceIndex

public int getDefaultChoiceIndex()

setDefaultChoiceIndex

public void setDefaultChoiceIndex(int anIndex)

getChoice

public java.lang.String getChoice()