org.apache.jetspeed.om.impl
Class UserAttributeRefImpl

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

public class UserAttributeRefImpl
extends Object
implements org.apache.jetspeed.om.common.UserAttributeRef

User attribute ref 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
           
private  String nameLink
           
 
Constructor Summary
UserAttributeRefImpl()
          Default constructor.
UserAttributeRefImpl(String name, String nameLink)
          User attribute ref constructor given a name and name link.
UserAttributeRefImpl(org.apache.jetspeed.om.common.UserAttribute userAttribute)
          User attribute ref constructor given a UserAttribute.
 
Method Summary
 String getDescription()
           
 long getId()
           
 String getName()
           
 String getNameLink()
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setNameLink(String nameLink)
           
 String toString()
          Convert UserAttributeRef 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

nameLink

private String nameLink

description

private String description
Constructor Detail

UserAttributeRefImpl

public UserAttributeRefImpl()

Default constructor.


UserAttributeRefImpl

public UserAttributeRefImpl(String name,
                            String nameLink)

User attribute ref constructor given a name and name link.

Parameters:
The - user attribute ref name.
The - user attribute ref name link.

UserAttributeRefImpl

public UserAttributeRefImpl(org.apache.jetspeed.om.common.UserAttribute userAttribute)

User attribute ref constructor given a UserAttribute.

Parameters:
The - user attribute ref name.
The - user attribute ref name link.
Method Detail

getName

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

setName

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

getNameLink

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

setNameLink

public void setNameLink(String nameLink)
Specified by:
setNameLink in interface org.apache.jetspeed.om.common.UserAttributeRef
See Also:
UserAttributeRef.setNameLink(java.lang.String)

getDescription

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

setDescription

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

toString

public String toString()

Convert UserAttributeRef to String.

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

getId

public long getId()
Returns:
Returns the id.


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