org.apache.jetspeed.om.impl
Class UserAttributeRefImpl

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

public class UserAttributeRefImpl
extends java.lang.Object
implements UserAttributeRef

User attribute ref implementation.

Author:
David Le Strat
See Also:
Serialized Form

Field Summary
protected  long appId
          The application id.
protected  long id
           
 
Constructor Summary
UserAttributeRefImpl()
          Default constructor.
UserAttributeRefImpl(java.lang.String name, java.lang.String nameLink)
          User attribute ref constructor given a name and name link.
UserAttributeRefImpl(UserAttribute userAttribute)
          User attribute ref constructor given a UserAttribute.
 
Method Summary
 java.lang.String getDescription()
          Getter for the user-attribute description.
 long getId()
           
 java.lang.String getName()
          Getter for the user-attribute-ref name.
 java.lang.String getNameLink()
          Getter for the user-attribute-ref name-link.
 void setDescription(java.lang.String description)
          Setter for the user-attribute description.
 void setName(java.lang.String name)
          Setter for the user-attribute-ref name.
 void setNameLink(java.lang.String nameLink)
          Setter for the user-attribute-ref name-link.
 java.lang.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
Constructor Detail

UserAttributeRefImpl

public UserAttributeRefImpl()

Default constructor.


UserAttributeRefImpl

public UserAttributeRefImpl(java.lang.String name,
                            java.lang.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(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 java.lang.String getName()
Description copied from interface: UserAttributeRef
Getter for the user-attribute-ref name.

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

setName

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

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

getNameLink

public java.lang.String getNameLink()
Description copied from interface: UserAttributeRef
Getter for the user-attribute-ref name-link.

Specified by:
getNameLink in interface UserAttributeRef
See Also:
UserAttributeRef.getNameLink()

setNameLink

public void setNameLink(java.lang.String nameLink)
Description copied from interface: UserAttributeRef
Setter for the user-attribute-ref name-link.

Specified by:
setNameLink in interface UserAttributeRef
See Also:
UserAttributeRef.setNameLink(java.lang.String)

getDescription

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

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

setDescription

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

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

toString

public java.lang.String toString()

Convert UserAttributeRef to String.

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

getId

public long getId()
Returns:
Returns the id.


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