org.alfresco.repo.attributes
Class FloatAttributeValue
java.lang.Object
org.alfresco.repo.attributes.AbstractAttribute
org.alfresco.repo.attributes.AttributeValue
org.alfresco.repo.attributes.FloatAttributeValue
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable, Attribute, FloatAttribute
public class FloatAttributeValue
- extends AttributeValue
- implements FloatAttribute
Value based implementation of float attribute
- See Also:
- Serialized Form
Methods inherited from class org.alfresco.repo.attributes.AbstractAttribute |
add, add, clear, entrySet, get, get, getAttributeImpl, getAttributeValue, getBlobValue, getBooleanValue, getByteValue, getDoubleValue, getIntValue, getLongValue, getSerializableValue, getShortValue, getStringValue, iterator, keySet, put, remove, remove, set, setBlobValue, setBooleanValue, setByteValue, setDoubleValue, setIntValue, setLongValue, setSerializableValue, setShortValue, setStringValue, size, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.alfresco.repo.attributes.Attribute |
add, add, clear, entrySet, get, get, getAcl, getAttributeImpl, getAttributeValue, getBlobValue, getBooleanValue, getByteValue, getDoubleValue, getIntValue, getLongValue, getSerializableValue, getShortValue, getStringValue, iterator, keySet, put, remove, remove, set, setAcl, setBlobValue, setBooleanValue, setByteValue, setDoubleValue, setIntValue, setLongValue, setSerializableValue, setShortValue, setStringValue, size, values |
FloatAttributeValue
public FloatAttributeValue(float value)
FloatAttributeValue
public FloatAttributeValue(FloatAttribute attr)
getType
public Attribute.Type getType()
- Specified by:
getType
in interface Attribute
- Returns:
- the enumerated type
getRawValue
public java.io.Serializable getRawValue()
- Description copied from interface:
Attribute
- Method to return the underlying raw data for possible conversion to the descired type.
- Specified by:
getRawValue
in interface Attribute
- Returns:
- Returns a raw data value
getFloatValue
public float getFloatValue()
- Description copied from interface:
Attribute
- Get the value of a FloatValue.
- Specified by:
getFloatValue
in interface Attribute
- Overrides:
getFloatValue
in class AbstractAttribute
- Returns:
- The value.
setFloatValue
public void setFloatValue(float value)
- Description copied from interface:
Attribute
- Set a float value.
- Specified by:
setFloatValue
in interface Attribute
- Overrides:
setFloatValue
in class AbstractAttribute
- Parameters:
value
- The value to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.