public class WsRelationshipType extends Object
WsRelationship
Constructor and Description |
---|
WsRelationshipType()
Creates an empty WsRelationshipType object.
|
WsRelationshipType(Long id,
String name,
Boolean isDefault)
Creates a new WsRelationshipType object with the given values.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the relationship type's description.
|
Long |
getId()
Gets the relationship type's id.
|
String |
getName()
Gets the relationship type's name.
|
Integer |
getOrgId()
Gets the id of the organization this relationship type is in.
|
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(String description)
Sets the relationship type's description.
|
void |
setId(Long id) |
void |
setName(String name)
Sets the relationship type's name.
|
void |
setOrgId(Integer orgId)
Sets the id of the organization this relationship type is in.
|
void |
setSortOrder(Integer sortOrder)
Sets the relationship type's sort order.
|
String |
toString()
Gets a string representation of this relationship type.
|
public WsRelationshipType()
public WsRelationshipType(Long id, String name, Boolean isDefault)
id
- id of the relationshipTypename
- the name of the relationship typeisDefault
- whether or not the relationship type is the default for the orgpublic Long getId()
public void setId(Long id)
public String getName()
public void setName(String name)
name
- name of the relationship typepublic String getDescription()
public void setDescription(String description)
description
- description of the relationship typepublic Integer getOrgId()
public void setOrgId(Integer orgId)
orgId
- id of the organization the relationship type is inpublic Integer getSortOrder()
public void setSortOrder(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 activeCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.