com.jamasoftware.contour.ws.v2.domain
Class WsRelationshipType

java.lang.Object
  extended by com.jamasoftware.contour.ws.v2.domain.WsRelationshipType

public class WsRelationshipType
extends java.lang.Object


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

WsRelationshipType

public WsRelationshipType()
Creates an empty WsRelationshipType object.


WsRelationshipType

public WsRelationshipType(java.lang.String name,
                          java.lang.Integer orgId)
Creates a new WsRelationshipType object with the given values.

Parameters:
name - the name of the relationship type
orgId - id of the org the relationship type belongs to
Method Detail

getId

public java.lang.Long getId()
Gets the relationship type's id.

Returns:
relationship type id

setId

public void setId(java.lang.Long id)

getName

public java.lang.String getName()
Gets the relationship type's name.

Returns:
relationship type name

setName

public void setName(java.lang.String name)
Sets the relationship type's name.

Parameters:
name - name of the relationship type

getDescription

public java.lang.String getDescription()
Gets the relationship type's description.

Returns:
relationship type description

setDescription

public void setDescription(java.lang.String description)
Sets the relationship type's description.

Parameters:
description - description of the relationship type

getOrgId

public java.lang.Integer getOrgId()
Gets the id of the organization this relationship type is in.

Returns:
organization id of the relationship type

setOrgId

public void setOrgId(java.lang.Integer orgId)
Sets the id of the organization this relationship type is in.

Parameters:
orgId - id of the organization the relationship type is in

getSortOrder

public java.lang.Integer getSortOrder()
Gets the relationship type's sort order.

Returns:
sort order for the relationship type

setSortOrder

public void setSortOrder(java.lang.Integer sortOrder)
Sets the relationship type's sort order.

Parameters:
sortOrder - sort order of the relationship type

isDefault

public boolean isDefault()
Gets whether or not this relationship type is the default relationship type for its organization.

Returns:
whether or not the relationship type is the default

setDefault

public void setDefault(boolean isDefault)
Gets whether or not this relationship type is the default relationship type for its organization.

Parameters:
isDefault - whether or not the relationship type is the default

isActive

public boolean isActive()
Gets whether or not this relationship type is active.

Returns:
whether or not the relationship type is active

setActive

public void setActive(boolean active)
Sets whether or not this relationship type is active.

Parameters:
active - whether or not the relationship type is active

toString

public java.lang.String toString()
Gets a string representation of this relationship type.

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright © 2010 Jama Software, Inc. All Rights Reserved.