com.jamasoftware.contour.domain
Class RelationshipType

java.lang.Object
  extended by com.jamasoftware.contour.domain.DomainObjectBaseSupport
      extended by com.jamasoftware.contour.domain.DomainObjectSupport
          extended by com.jamasoftware.contour.domain.RelationshipType
All Implemented Interfaces:
DomainObject, DomainObjectBase, OrganizationAware, ScopedObject, java.io.Serializable, java.lang.Comparable<RelationshipType>

@Entity
public class RelationshipType
extends DomainObjectSupport
implements java.lang.Comparable<RelationshipType>, ScopedObject

Lookups.

See Also:
Serialized Form

Field Summary
static java.lang.String ITEM_SYNC_NAME
           
 
Fields inherited from interface com.jamasoftware.contour.domain.DomainObjectBase
ORGANIZATION_COLUMN_NAME
 
Constructor Summary
RelationshipType()
           
RelationshipType(java.lang.Integer id)
           
RelationshipType(com.jamasoftware.contour.service.property.RelationshipTypePropertyDTO property)
           
RelationshipType(java.lang.String name, java.lang.String description, java.lang.Integer scope, java.lang.Integer refId, java.lang.Integer sortOrder, boolean isDefault, boolean active, java.lang.Boolean showStatus, java.lang.Boolean showNote)
           
 
Method Summary
 int compareTo(RelationshipType rt)
           
 boolean getActive()
           
 java.lang.String getDescription()
           
 java.lang.Integer getId()
           
 java.lang.String getImage()
           
 boolean getIsDefault()
           
 java.lang.String getName()
           
 java.lang.Integer getOrganizationId()
           
 java.lang.Integer getRefId()
           
 java.lang.Integer getScopeId()
           
 java.lang.Boolean getShowNote()
           
 java.lang.Boolean getShowStatus()
           
 java.lang.Integer getSortOrder()
           
 java.lang.String getXmlToString()
           
 boolean isItemSyncRelationshipType()
           
 void setActive(boolean active)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Integer lookupId)
           
 void setImage(java.lang.String image)
           
 void setIsDefault(boolean isDefault)
           
 void setName(java.lang.String displayDescription)
           
 void setOrganizationId(java.lang.Integer organizationId)
           
 void setRefId(java.lang.Integer refId)
           
 void setScopeId(java.lang.Integer scope)
           
 void setShowNote(java.lang.Boolean showNote)
           
 void setShowStatus(java.lang.Boolean showStatus)
           
 void setSortOrder(java.lang.Integer sortOrder)
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

ITEM_SYNC_NAME

public static final java.lang.String ITEM_SYNC_NAME
See Also:
Constant Field Values
Constructor Detail

RelationshipType

public RelationshipType()

RelationshipType

public RelationshipType(java.lang.Integer id)

RelationshipType

public RelationshipType(com.jamasoftware.contour.service.property.RelationshipTypePropertyDTO property)

RelationshipType

public RelationshipType(java.lang.String name,
                        java.lang.String description,
                        java.lang.Integer scope,
                        java.lang.Integer refId,
                        java.lang.Integer sortOrder,
                        boolean isDefault,
                        boolean active,
                        java.lang.Boolean showStatus,
                        java.lang.Boolean showNote)
Method Detail

getId

@DocumentId
public java.lang.Integer getId()
Specified by:
getId in interface DomainObjectBase

setId

public void setId(java.lang.Integer lookupId)
Specified by:
setId in interface DomainObjectBase

getName

@Field(name="name",
       index=TOKENIZED,
       store=YES)
public java.lang.String getName()

setName

public void setName(java.lang.String displayDescription)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getImage

public java.lang.String getImage()

setImage

public void setImage(java.lang.String image)

getSortOrder

public java.lang.Integer getSortOrder()

setSortOrder

public void setSortOrder(java.lang.Integer sortOrder)

getIsDefault

public boolean getIsDefault()

setIsDefault

public void setIsDefault(boolean isDefault)

getXmlToString

public java.lang.String getXmlToString()
Specified by:
getXmlToString in interface DomainObject

isItemSyncRelationshipType

public boolean isItemSyncRelationshipType()

getActive

public boolean getActive()

setActive

public void setActive(boolean active)

compareTo

public int compareTo(RelationshipType rt)
Specified by:
compareTo in interface java.lang.Comparable<RelationshipType>

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

getShowStatus

public java.lang.Boolean getShowStatus()

setShowStatus

public void setShowStatus(java.lang.Boolean showStatus)

getShowNote

public java.lang.Boolean getShowNote()

setShowNote

public void setShowNote(java.lang.Boolean showNote)

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a String representation of this object.


Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.