org.apache.shindig.social.core.model
Class OrganizationImpl

java.lang.Object
  extended by org.apache.shindig.social.core.model.OrganizationImpl
All Implemented Interfaces:
Organization

public class OrganizationImpl
extends Object
implements Organization

Default implementation of an Organization


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.Organization
Organization.Field
 
Constructor Summary
OrganizationImpl()
           
 
Method Summary
 Address getAddress()
          Get the address of the organization, specified as an Address.
 String getDescription()
          Get a description or notes about the person's work in the organization, specified as a string.
 Date getEndDate()
          Get the date the person stopped at the organization, specified as a Date.
 String getField()
          Get the field the organization is in, specified as a string.
 String getName()
          Get the name of the organization, specified as a string.
 Boolean getPrimary()
          Get Boolean value indicating whether this instance of the Plural Field is the primary or preferred Organization.
 String getSalary()
          Get the salary the person receives from the organization, specified as a string.
 Date getStartDate()
          Get the date the person started at the organization, specified as a Date.
 String getSubField()
          Get the subfield the Organization is in, specified as a string.
 String getTitle()
          Get the title or role the person has in the organization, specified as a string.
 String getType()
          Get the type of field for this instance, usually used to label the preferred function of the given contact information.
 String getWebpage()
          Get a webpage related to the organization, specified as a string.
 void setAddress(Address address)
          Set the address of the organization, specified as an Address.
 void setDescription(String description)
          Set a description or notes about the person's work in the organization, specified as a string.
 void setEndDate(Date endDate)
          Set the date the person stopped at the organization, specified as a Date.
 void setField(String field)
          Set the field the organization is in, specified as a string.
 void setName(String name)
          Set the name of the organization, specified as a string.
 void setPrimary(Boolean primary)
          Set Boolean value indicating whether this instance of the Plural Field is the primary or preferred Organization.
 void setSalary(String salary)
          Set the salary the person receives from the organization, specified as a string.
 void setStartDate(Date startDate)
          Set the date the person started at the organization, specified as a Date.
 void setSubField(String subField)
          Set the subfield the Organization is in, specified as a string.
 void setTitle(String title)
          Set the title or role the person has in the organization, specified as a string.
 void setType(String type)
          Set the type of field for this instance, usually used to label the preferred function of the given contact information.
 void setWebpage(String webpage)
          Get a webpage related to the organization, specified as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationImpl

public OrganizationImpl()
Method Detail

getAddress

public Address getAddress()
Description copied from interface: Organization
Get the address of the organization, specified as an Address. Container support for this field is OPTIONAL.

Specified by:
getAddress in interface Organization
Returns:
the Address of the organization

setAddress

public void setAddress(Address address)
Description copied from interface: Organization
Set the address of the organization, specified as an Address. Container support for this field is OPTIONAL.

Specified by:
setAddress in interface Organization
Parameters:
address - the address of the organization

getDescription

public String getDescription()
Description copied from interface: Organization
Get a description or notes about the person's work in the organization, specified as a string. This could be the courses taken by a student, or a more detailed description about a Organization role. Container support for this field is OPTIONAL.

Specified by:
getDescription in interface Organization
Returns:
a description about the persons work in the organization

setDescription

public void setDescription(String description)
Description copied from interface: Organization
Set a description or notes about the person's work in the organization, specified as a string. This could be the courses taken by a student, or a more detailed description about a Organization role. Container support for this field is OPTIONAL.

Specified by:
setDescription in interface Organization
Parameters:
description - a description about the persons work in the organization

getEndDate

public Date getEndDate()
Description copied from interface: Organization
Get the date the person stopped at the organization, specified as a Date. A null date indicates that the person is still involved with the organization. Container support for this field is OPTIONAL.

Specified by:
getEndDate in interface Organization
Returns:
the date the person stopped at the organization

setEndDate

public void setEndDate(Date endDate)
Description copied from interface: Organization
Set the date the person stopped at the organization, specified as a Date. A null date indicates that the person is still involved with the organization. Container support for this field is OPTIONAL.

Specified by:
setEndDate in interface Organization
Parameters:
endDate - the date the person stopped at the organization

getField

public String getField()
Description copied from interface: Organization
Get the field the organization is in, specified as a string. This could be the degree pursued if the organization is a school. Container support for this field is OPTIONAL.

Specified by:
getField in interface Organization
Returns:
the field the organization is in

setField

public void setField(String field)
Description copied from interface: Organization
Set the field the organization is in, specified as a string. This could be the degree pursued if the organization is a school. Container support for this field is OPTIONAL.

Specified by:
setField in interface Organization
Parameters:
field - the field the organization is in

getName

public String getName()
Description copied from interface: Organization
Get the name of the organization, specified as a string. For example, could be a school name or a job company. Container support for this field is OPTIONAL.

Specified by:
getName in interface Organization
Returns:
the name of the organization

setName

public void setName(String name)
Description copied from interface: Organization
Set the name of the organization, specified as a string. For example, could be a school name or a job company. Container support for this field is OPTIONAL.

Specified by:
setName in interface Organization
Parameters:
name - the name of the organization

getSalary

public String getSalary()
Description copied from interface: Organization
Get the salary the person receives from the organization, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getSalary in interface Organization
Returns:
the salary the person receives

setSalary

public void setSalary(String salary)
Description copied from interface: Organization
Set the salary the person receives from the organization, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setSalary in interface Organization
Parameters:
salary - the salary the person receives

getStartDate

public Date getStartDate()
Description copied from interface: Organization
Get the date the person started at the organization, specified as a Date. Container support for this field is OPTIONAL.

Specified by:
getStartDate in interface Organization
Returns:
the start date at the organization

setStartDate

public void setStartDate(Date startDate)
Description copied from interface: Organization
Set the date the person started at the organization, specified as a Date. Container support for this field is OPTIONAL.

Specified by:
setStartDate in interface Organization
Parameters:
startDate - the start date at the organization

getSubField

public String getSubField()
Description copied from interface: Organization
Get the subfield the Organization is in, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getSubField in interface Organization
Returns:
the subfield the Organization is in

setSubField

public void setSubField(String subField)
Description copied from interface: Organization
Set the subfield the Organization is in, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setSubField in interface Organization
Parameters:
subField - the subfield the Organization is in

getTitle

public String getTitle()
Description copied from interface: Organization
Get the title or role the person has in the organization, specified as a string. This could be graduate student, or software engineer. Container support for this field is OPTIONAL.

Specified by:
getTitle in interface Organization
Returns:
the title or role the person has in the organization

setTitle

public void setTitle(String title)
Description copied from interface: Organization
Set the title or role the person has in the organization, specified as a string. This could be graduate student, or software engineer. Container support for this field is OPTIONAL.

Specified by:
setTitle in interface Organization
Parameters:
title - the title or role the person has in the organization

getWebpage

public String getWebpage()
Description copied from interface: Organization
Get a webpage related to the organization, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getWebpage in interface Organization
Returns:
the URL of a webpage related to the organization

setWebpage

public void setWebpage(String webpage)
Description copied from interface: Organization
Get a webpage related to the organization, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setWebpage in interface Organization
Parameters:
webpage - the URL of a webpage related to the organization

getType

public String getType()
Description copied from interface: Organization
Get the type of field for this instance, usually used to label the preferred function of the given contact information. The type of organization, with Canonical Values job and school.

Specified by:
getType in interface Organization
Returns:
the type of the field

setType

public void setType(String type)
Description copied from interface: Organization
Set the type of field for this instance, usually used to label the preferred function of the given contact information. The type of organization, with Canonical Values job and school.

Specified by:
setType in interface Organization
Parameters:
type - the type of the field

getPrimary

public Boolean getPrimary()
Description copied from interface: Organization
Get Boolean value indicating whether this instance of the Plural Field is the primary or preferred Organization.

Specified by:
getPrimary in interface Organization
Returns:
true if this is a primary or preferred value

setPrimary

public void setPrimary(Boolean primary)
Description copied from interface: Organization
Set Boolean value indicating whether this instance of the Plural Field is the primary or preferred Organization.

Specified by:
setPrimary in interface Organization
Parameters:
primary - true if this is a primary or preferred value


Copyright © 2007-2012. All Rights Reserved.