org.alfresco.repo.attributes
Class ShortAttributeImpl
java.lang.Object
org.alfresco.repo.attributes.AbstractAttribute
org.alfresco.repo.attributes.AttributeImpl
org.alfresco.repo.attributes.ShortAttributeImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable, Attribute, ShortAttribute
public class ShortAttributeImpl
- extends AttributeImpl
- implements ShortAttribute
A short 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, getFloatValue, getIntValue, getLongValue, getSerializableValue, getStringValue, iterator, keySet, put, remove, remove, set, setBlobValue, setBooleanValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setSerializableValue, setStringValue, size, values |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, 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, getFloatValue, getIntValue, getLongValue, getSerializableValue, getStringValue, iterator, keySet, put, remove, remove, set, setAcl, setBlobValue, setBooleanValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setSerializableValue, setStringValue, size, values |
ShortAttributeImpl
public ShortAttributeImpl()
ShortAttributeImpl
public ShortAttributeImpl(short value)
ShortAttributeImpl
public ShortAttributeImpl(ShortAttribute attr)
getShortValue
public short getShortValue()
- Description copied from interface:
Attribute
- Get the value of a ShortValue.
- Specified by:
getShortValue
in interface Attribute
- Overrides:
getShortValue
in class AbstractAttribute
- Returns:
- The value.
setShortValue
public void setShortValue(short value)
- Description copied from interface:
Attribute
- Set a short value.
- Specified by:
setShortValue
in interface Attribute
- Overrides:
setShortValue
in class AbstractAttribute
- Parameters:
value
- The value to set.
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.