com.ibm.ccd.ui.dataobjects.attributes
Class PeriodAttribute
java.lang.Object
com.ibm.ccd.ui.dataobjects.attributes.Attribute
com.ibm.ccd.ui.dataobjects.attributes.PeriodAttribute
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class PeriodAttribute
- extends Attribute
- See Also:
- Serialized Form
Fields inherited from class com.ibm.ccd.ui.dataobjects.attributes.Attribute |
currOccurrence, displayLabelName, editable, errorMap, hashName, isCategorySpecificAttribute, isLocalized, isPrimaryKey, localizedValues, maximumLength, maximumOccurrence, minimumLength, minimumOccurrence, parentAttribute, parentPath, valueList |
Constructor Summary |
PeriodAttribute(java.lang.String name,
boolean editable,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
|
PeriodAttribute(java.lang.String name,
java.lang.String startPeriod,
java.lang.String endPeriod,
boolean editable,
int minimumLength,
int maximumLength,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
|
PeriodAttribute(java.lang.String name,
java.lang.String startPeriod,
java.lang.String endPeriod,
boolean editable,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
|
Methods inherited from class com.ibm.ccd.ui.dataobjects.attributes.Attribute |
getAttributeParentPath, getCurrentOccurrence, getCurrOccurrence, getDisplayLabelName, getHashName, getLocaleName, getLocalizedValues, getMaximumLength, getMaximumOccurrence, getMinimumLength, getMinimumOccurrence, getName, getParentGroup, getParentPath, getPath, getValidationError, getValueList, hasAnyParentGroupMultivalued, isCategorySpecificAttribute, isEditable, isLocalized, isMultiValued, isOptional, isPrimaryKey, isSubAttribute, isValueChanged, prepareAttributeParentPath, removeValue, removeValues, setAsLocalized, setCategorySpecificAttribute, setCurrOccurrence, setDisplayLabelName, setEditable, setHashName, setLocaleName, setLocalizedValues, setMaximumLength, setMaximumOccrrence, setMinimumLength, setMinimumOccrrence, setName, setParentGroup, setParentGroupFlagValueChanged, setParentPath, setPath, setPrimaryKey, setSubAttribute, setValidationError, setValueChanged, setValueList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeriodAttribute
public PeriodAttribute(java.lang.String name,
boolean editable,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
- Parameters:
name
- editable
- minimumOccurrence
- maximumOccurrence
- displayName
-
PeriodAttribute
public PeriodAttribute(java.lang.String name,
java.lang.String startPeriod,
java.lang.String endPeriod,
boolean editable,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
- Parameters:
name
- startPeriod
- endPeriod
- editable
- minimumOccurrence
- maximumOccurrence
- displayName
-
PeriodAttribute
public PeriodAttribute(java.lang.String name,
java.lang.String startPeriod,
java.lang.String endPeriod,
boolean editable,
int minimumLength,
int maximumLength,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
- Parameters:
name
- startPeriod
- endPeriod
- editable
- minimumLength
- maximumLength
- minimumOccurrence
- maximumOccurrence
- displayName
-
getType
public int getType()
- Specified by:
getType
in class Attribute
setValue
public void setValue(java.lang.String startDate,
java.lang.String endDate)
- Parameters:
startDate
- endDate
-
getValue
public java.lang.String getValue()
- Returns:
- string
getStartDate
public java.lang.String getStartDate(int index)
- Parameters:
index
-
- Returns:
- string
getEndDate
public java.lang.String getEndDate(int index)
- Parameters:
index
-
- Returns:
- string
printMe
public void printMe()
- Overrides:
printMe
in class Attribute