com.jamasoftware.contour.domain
Class UserFavorite
java.lang.Object
com.jamasoftware.contour.domain.DomainObjectBaseSupport
com.jamasoftware.contour.domain.DomainObjectSupport
com.jamasoftware.contour.domain.UserFavorite
- All Implemented Interfaces:
- DomainObject, DomainObjectBase, OrganizationAware, ScopedObject, java.io.Serializable
@Entity
public class UserFavorite
- extends DomainObjectSupport
- implements ScopedObject
Object that records a user's favorites of a given object.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
UserFavorite
public UserFavorite()
UserFavorite
public UserFavorite(User user,
java.lang.Integer scope,
java.lang.Integer refId)
UserFavorite
public UserFavorite(java.lang.Integer userId,
java.lang.Integer scope,
java.lang.Integer refId)
getId
public java.lang.Integer getId()
- Specified by:
getId in interface DomainObjectBase
setId
public void setId(java.lang.Integer id)
- Specified by:
setId in interface DomainObjectBase
getUser
public User getUser()
setUser
public void setUser(User user)
getScopeId
public java.lang.Integer getScopeId()
- Specified by:
getScopeId in interface ScopedObject
setScopeId
public void setScopeId(java.lang.Integer scope)
- Specified by:
setScopeId in interface ScopedObject
getRefId
public java.lang.Integer getRefId()
- Specified by:
getRefId in interface ScopedObject
setRefId
public void setRefId(java.lang.Integer refId)
- Specified by:
setRefId in interface ScopedObject
getOrganizationId
public java.lang.Integer getOrganizationId()
- Specified by:
getOrganizationId in interface DomainObjectBase- Specified by:
getOrganizationId in interface OrganizationAware
setOrganizationId
public void setOrganizationId(java.lang.Integer organizationId)
- Specified by:
setOrganizationId in interface DomainObjectBase
getXmlToString
public java.lang.String getXmlToString()
- Specified by:
getXmlToString in interface DomainObject
Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.