org.alfresco.repo.attributes
Class AttributeImpl

java.lang.Object
  extended by org.alfresco.repo.attributes.AbstractAttribute
      extended by org.alfresco.repo.attributes.AttributeImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable, Attribute
Direct Known Subclasses:
BooleanAttributeImpl, ByteAttributeImpl, DoubleAttributeImpl, FloatAttributeImpl, IntAttributeImpl, ListAttributeImpl, LongAttributeImpl, MapAttributeImpl, SerializableAttributeImpl, ShortAttributeImpl, StringAttributeImpl

public abstract class AttributeImpl
extends AbstractAttribute
implements Attribute

The base class of the implementation of Values.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.repo.attributes.Attribute
Attribute.Type
 
Constructor Summary
protected AttributeImpl()
          Base constructor.
protected AttributeImpl(DbAccessControlList acl)
          Helper constructor for copy constructors.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 DbAccessControlList getAcl()
          Get the (possibly null ACL) on this Attribute.
 long getId()
           
 long getVersion()
           
 int hashCode()
           
 void setAcl(DbAccessControlList acl)
          Set the ACL on this Attribute.
 void setId(long id)
           
 void setVersion(long version)
           
 
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, getShortValue, getStringValue, iterator, keySet, put, remove, remove, set, setBlobValue, setBooleanValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setSerializableValue, setShortValue, setStringValue, size, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.repo.attributes.Attribute
add, add, clear, entrySet, get, get, getAttributeImpl, getAttributeValue, getBlobValue, getBooleanValue, getByteValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getRawValue, getSerializableValue, getShortValue, getStringValue, getType, iterator, keySet, put, remove, remove, set, setBlobValue, setBooleanValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setSerializableValue, setShortValue, setStringValue, size, values
 

Constructor Detail

AttributeImpl

protected AttributeImpl()
Base constructor.


AttributeImpl

protected AttributeImpl(DbAccessControlList acl)
Helper constructor for copy constructors.

Parameters:
acl - The ACL.
Method Detail

setId

public void setId(long id)

getId

public long getId()

setVersion

public void setVersion(long version)

getVersion

public long getVersion()

getAcl

public DbAccessControlList getAcl()
Description copied from interface: Attribute
Get the (possibly null ACL) on this Attribute.

Specified by:
getAcl in interface Attribute
Returns:
The ACL or null.

setAcl

public void setAcl(DbAccessControlList acl)
Description copied from interface: Attribute
Set the ACL on this Attribute.

Specified by:
setAcl in interface Attribute
Parameters:
acl - The ACL.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.