com.jamasoftware.contour.domain
Class UserFavorite

java.lang.Object
  extended by com.jamasoftware.contour.domain.DomainObjectBaseSupport
      extended by com.jamasoftware.contour.domain.DomainObjectSupport
          extended by 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

Field Summary
 
Fields inherited from interface com.jamasoftware.contour.domain.DomainObjectBase
ORGANIZATION_COLUMN_NAME
 
Constructor Summary
UserFavorite()
           
UserFavorite(java.lang.Integer userId, java.lang.Integer scope, java.lang.Integer refId)
           
UserFavorite(User user, java.lang.Integer scope, java.lang.Integer refId)
           
 
Method Summary
 java.lang.Integer getId()
           
 java.lang.Integer getOrganizationId()
           
 java.lang.Integer getRefId()
           
 java.lang.Integer getScopeId()
           
 User getUser()
           
 java.lang.String getXmlToString()
           
 void setId(java.lang.Integer id)
           
 void setOrganizationId(java.lang.Integer organizationId)
           
 void setRefId(java.lang.Integer refId)
           
 void setScopeId(java.lang.Integer scope)
           
 void setUser(User user)
           
 
Methods inherited from class com.jamasoftware.contour.domain.DomainObjectSupport
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
 
Methods inherited from class com.jamasoftware.contour.domain.DomainObjectBaseSupport
equals, hashCode, isNewObject, obtainAclObjectIdentity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.