org.alfresco.repo.attributes
Class ListEntryImpl

java.lang.Object
  extended by org.alfresco.repo.attributes.ListEntryImpl
All Implemented Interfaces:
java.io.Serializable, ListEntry

public class ListEntryImpl
extends java.lang.Object
implements ListEntry

Implementation of ListEntry

See Also:
Serialized Form

Constructor Summary
ListEntryImpl()
          Default constructor.
ListEntryImpl(ListEntryKey key, Attribute attr)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Attribute getAttribute()
          Get the Attribute for this entry.
 ListEntryKey getKey()
          Get the key.
 int hashCode()
           
 void setAttribute(Attribute attr)
          Set the Attribute.
 void setKey(ListEntryKey key)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListEntryImpl

public ListEntryImpl()
Default constructor.


ListEntryImpl

public ListEntryImpl(ListEntryKey key,
                     Attribute attr)
Method Detail

setKey

public void setKey(ListEntryKey key)

getKey

public ListEntryKey getKey()
Description copied from interface: ListEntry
Get the key.

Specified by:
getKey in interface ListEntry
Returns:
The key.

getAttribute

public Attribute getAttribute()
Description copied from interface: ListEntry
Get the Attribute for this entry.

Specified by:
getAttribute in interface ListEntry
Returns:
The Attribute

setAttribute

public void setAttribute(Attribute attr)
Description copied from interface: ListEntry
Set the Attribute.

Specified by:
setAttribute in interface ListEntry
Parameters:
attr - The attribute to set.

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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