org.apache.jetspeed.om.impl
Class UserAttributeImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.UserAttributeImpl
All Implemented Interfaces:
java.io.Serializable, UserAttribute

public class UserAttributeImpl
extends java.lang.Object
implements UserAttribute

User attribute implementation.

Author:
David Le Strat
See Also:
Serialized Form

Field Summary
protected  long appId
          The application id.
protected  long id
           
 
Constructor Summary
UserAttributeImpl()
          Default constructor.
UserAttributeImpl(java.lang.String name, java.lang.String description)
          User attribute constructor given a name and description.
 
Method Summary
 java.lang.String getDescription()
          Getter for the user-attribute description.
 long getId()
           
 java.lang.String getName()
          Getter for the user-attribute name.
 void setDescription(java.lang.String description)
          Setter for the user-attribute description.
 void setName(java.lang.String name)
          Setter for the user-attribute name.
 java.lang.String toString()
          Convert UserAttribute to String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

appId

protected long appId
The application id.


id

protected long id
Constructor Detail

UserAttributeImpl

public UserAttributeImpl()

Default constructor.


UserAttributeImpl

public UserAttributeImpl(java.lang.String name,
                         java.lang.String description)

User attribute constructor given a name and description.

Parameters:
The - user attribute name.
The - user attribute description.
Method Detail

getName

public java.lang.String getName()
Description copied from interface: UserAttribute
Getter for the user-attribute name.

Specified by:
getName in interface UserAttribute
See Also:
UserAttribute.getName()

setName

public void setName(java.lang.String name)
Description copied from interface: UserAttribute
Setter for the user-attribute name.

Specified by:
setName in interface UserAttribute
See Also:
UserAttribute.setName(java.lang.String)

getDescription

public java.lang.String getDescription()
Description copied from interface: UserAttribute
Getter for the user-attribute description.

Specified by:
getDescription in interface UserAttribute
See Also:
UserAttribute.getDescription()

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: UserAttribute
Setter for the user-attribute description.

Specified by:
setDescription in interface UserAttribute
See Also:
UserAttribute.setDescription(java.lang.String)

toString

public java.lang.String toString()

Convert UserAttribute to String.

Overrides:
toString in class java.lang.Object
Returns:
String value of UserAttribute.

getId

public long getId()
Returns:
Returns the id.


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.