org.apache.jetspeed.om.impl
Class UserAttributeImpl

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

public class UserAttributeImpl
extends Object
implements org.apache.jetspeed.om.common.UserAttribute

User attribute implementation.

Author:
David Le Strat
See Also:
Serialized Form

Field Summary
protected  long appId
          The application id.
private  String description
           
protected  long id
           
private  String name
           
 
Constructor Summary
UserAttributeImpl()
          Default constructor.
UserAttributeImpl(String name, String description)
          User attribute constructor given a name and description.
 
Method Summary
 String getDescription()
           
 long getId()
           
 String getName()
           
 void setDescription(String description)
           
 void setName(String name)
           
 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

name

private String name

description

private String description
Constructor Detail

UserAttributeImpl

public UserAttributeImpl()

Default constructor.


UserAttributeImpl

public UserAttributeImpl(String name,
                         String description)

User attribute constructor given a name and description.

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

getName

public String getName()
Specified by:
getName in interface org.apache.jetspeed.om.common.UserAttribute
See Also:
UserAttribute.getName()

setName

public void setName(String name)
Specified by:
setName in interface org.apache.jetspeed.om.common.UserAttribute
See Also:
UserAttribute.setName(java.lang.String)

getDescription

public String getDescription()
Specified by:
getDescription in interface org.apache.jetspeed.om.common.UserAttribute
See Also:
UserAttribute.getDescription()

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface org.apache.jetspeed.om.common.UserAttribute
See Also:
UserAttribute.setDescription(java.lang.String)

toString

public String toString()

Convert UserAttribute to String.

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

getId

public long getId()
Returns:
Returns the id.


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