|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v2.domain.WsRelationshipType
public class WsRelationshipType
| Constructor Summary | |
|---|---|
WsRelationshipType()
Creates an empty WsRelationshipType object. |
|
WsRelationshipType(java.lang.String name,
java.lang.Integer orgId)
Creates a new WsRelationshipType object with the given values. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the relationship type's description. |
java.lang.Long |
getId()
Gets the relationship type's id. |
java.lang.String |
getName()
Gets the relationship type's name. |
java.lang.Integer |
getOrgId()
Gets the id of the organization this relationship type is in. |
java.lang.Integer |
getSortOrder()
Gets the relationship type's sort order. |
boolean |
isActive()
Gets whether or not this relationship type is active. |
boolean |
isDefault()
Gets whether or not this relationship type is the default relationship type for its organization. |
void |
setActive(boolean active)
Sets whether or not this relationship type is active. |
void |
setDefault(boolean isDefault)
Gets whether or not this relationship type is the default relationship type for its organization. |
void |
setDescription(java.lang.String description)
Sets the relationship type's description. |
void |
setId(java.lang.Long id)
|
void |
setName(java.lang.String name)
Sets the relationship type's name. |
void |
setOrgId(java.lang.Integer orgId)
Sets the id of the organization this relationship type is in. |
void |
setSortOrder(java.lang.Integer sortOrder)
Sets the relationship type's sort order. |
java.lang.String |
toString()
Gets a string representation of this relationship type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsRelationshipType()
public WsRelationshipType(java.lang.String name,
java.lang.Integer orgId)
name - the name of the relationship typeorgId - id of the org the relationship type belongs to| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.lang.String getName()
public void setName(java.lang.String name)
name - name of the relationship typepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - description of the relationship typepublic java.lang.Integer getOrgId()
public void setOrgId(java.lang.Integer orgId)
orgId - id of the organization the relationship type is inpublic java.lang.Integer getSortOrder()
public void setSortOrder(java.lang.Integer sortOrder)
sortOrder - sort order of the relationship typepublic boolean isDefault()
public void setDefault(boolean isDefault)
isDefault - whether or not the relationship type is the defaultpublic boolean isActive()
public void setActive(boolean active)
active - whether or not the relationship type is activepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||