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

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

public class WsOrganization
extends java.lang.Object

This object represents an organization in Contour. An Organization, as it applies to Contour, represents the entire group of users who have access into your Contour account. Depending on what you’ve purchased and how you’d like to configure Contour, your Organization could be your team or your entire company. In terms of data, your Organization embodies all the Users, Projects, Items and all the other related data you have in your Contour application.

Author:
Dylan

Constructor Summary
WsOrganization()
          Creates an empty WsOrganization object.
WsOrganization(java.lang.String name, java.lang.String description, java.lang.String returnEmail, java.lang.String baseUrl, java.lang.String subdomain)
          Creates a new WsOrganization object with the given values.
 
Method Summary
 java.lang.String getBaseUrl()
          Gets the base URL for the organization.
 java.lang.String getDescription()
          Gets the organization's description.
 java.lang.Integer getId()
          Gets the organization's id.
 java.lang.String getName()
          Gets the organization's name.
 java.lang.String getReturnEmail()
          Gets the organization's return e-mail.
 java.lang.String getSubdomain()
          Gets the subdomain of the organization.
 void setBaseUrl(java.lang.String baseUrl)
          Sets the base URL for the organization.
 void setDescription(java.lang.String description)
          Sets the organization's description.
 void setId(java.lang.Integer id)
          Sets the organization's id.
 void setName(java.lang.String name)
          Sets the organization's name.
 void setReturnEmail(java.lang.String returnEmail)
          Sets the organization's return e-mail.
 void setSubdomain(java.lang.String subdomain)
          Sets the subdomain of the organization.
 java.lang.String toString()
          Gets a string representation of this organization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsOrganization

public WsOrganization()
Creates an empty WsOrganization object.


WsOrganization

public WsOrganization(java.lang.String name,
                      java.lang.String description,
                      java.lang.String returnEmail,
                      java.lang.String baseUrl,
                      java.lang.String subdomain)
Creates a new WsOrganization object with the given values.

Parameters:
name - name of the organization
description - description of the organization (can be null)
returnEmail - e-mail for the organization
baseUrl - url associated with the organization
subdomain - sub-domain of the organization (can be null)
Method Detail

getId

public java.lang.Integer getId()
Gets the organization's id.

Returns:
organization id

setId

public void setId(java.lang.Integer id)
Sets the organization's id.

Parameters:
id - organization id

getName

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

Returns:
organization name

setName

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

Parameters:
name - organization name

getDescription

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

Returns:
organization description

setDescription

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

Parameters:
description - organization description

getReturnEmail

public java.lang.String getReturnEmail()
Gets the organization's return e-mail.

Returns:
organization return email

setReturnEmail

public void setReturnEmail(java.lang.String returnEmail)
Sets the organization's return e-mail.

Parameters:
returnEmail - organization return email

getBaseUrl

public java.lang.String getBaseUrl()
Gets the base URL for the organization.

Returns:
organization base URL

setBaseUrl

public void setBaseUrl(java.lang.String baseUrl)
Sets the base URL for the organization.

Parameters:
baseUrl - organization base URL

getSubdomain

public java.lang.String getSubdomain()
Gets the subdomain of the organization.

Returns:
organization subdomain

setSubdomain

public void setSubdomain(java.lang.String subdomain)
Sets the subdomain of the organization.

Parameters:
subdomain - organization subdomain

toString

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

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


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