com.jamasoftware.contour.domain
Class RelationshipType
java.lang.Object
com.jamasoftware.contour.domain.DomainObjectBaseSupport
com.jamasoftware.contour.domain.DomainObjectSupport
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
|
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)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ITEM_SYNC_NAME
public static final java.lang.String ITEM_SYNC_NAME
- See Also:
- Constant Field Values
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)
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.