com.ibm.ccd.ui.dataobjects.attributes
Class BinaryAttribute

java.lang.Object
  extended by com.ibm.ccd.ui.dataobjects.attributes.Attribute
      extended by com.ibm.ccd.ui.dataobjects.attributes.BinaryAttribute
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ImageAttribute

public class BinaryAttribute
extends Attribute

See Also:
Serialized Form

Field Summary
protected  FileUploadResource defaultValue
           
protected  java.lang.String localPath
           
 
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
BinaryAttribute(java.lang.String name, boolean editable, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
BinaryAttribute(java.lang.String name, FileUploadResource defaultValue, boolean editable, int minimumLength, int maximumLength, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
BinaryAttribute(java.lang.String name, FileUploadResource defaultValue, boolean editable, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
 
Method Summary
 FileUploadResource getDefaultValue()
           
 java.lang.String getLocalPath()
           
 int getType()
           
 FileUploadResource getValue()
           
 FileUploadResource[] getValues()
           
 void printMe()
           
 void setDefaultValue(FileUploadResource defaultValue)
           
 void setLocalPath(java.lang.String string)
           
 void setValue(FileUploadResource value)
           
 void setValue(int occurrence, FileUploadResource value)
           
 void setValues(FileUploadResource[] values)
           
 
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
 

Field Detail

defaultValue

protected FileUploadResource defaultValue

localPath

protected java.lang.String localPath
Constructor Detail

BinaryAttribute

public BinaryAttribute(java.lang.String name,
                       boolean editable,
                       int minimumOccurrence,
                       int maximumOccurrence,
                       java.lang.String displayName)

BinaryAttribute

public BinaryAttribute(java.lang.String name,
                       FileUploadResource defaultValue,
                       boolean editable,
                       int minimumOccurrence,
                       int maximumOccurrence,
                       java.lang.String displayName)

BinaryAttribute

public BinaryAttribute(java.lang.String name,
                       FileUploadResource defaultValue,
                       boolean editable,
                       int minimumLength,
                       int maximumLength,
                       int minimumOccurrence,
                       int maximumOccurrence,
                       java.lang.String displayName)
Method Detail

getType

public int getType()
Specified by:
getType in class Attribute

getDefaultValue

public FileUploadResource getDefaultValue()

setDefaultValue

public void setDefaultValue(FileUploadResource defaultValue)

getValue

public FileUploadResource getValue()

getValues

public FileUploadResource[] getValues()

setValue

public void setValue(FileUploadResource value)

setValue

public void setValue(int occurrence,
                     FileUploadResource value)

setValues

public void setValues(FileUploadResource[] values)

printMe

public void printMe()
Overrides:
printMe in class Attribute

getLocalPath

public java.lang.String getLocalPath()
Returns:
string

setLocalPath

public void setLocalPath(java.lang.String string)
Parameters:
string -