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

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

public class NameImpl
extends Object
implements Name

Default implementation of the Name model.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.Name
Name.Field
 
Constructor Summary
NameImpl()
           
NameImpl(String formatted)
           
 
Method Summary
 String getAdditionalName()
           
 String getFamilyName()
           
 String getFormatted()
           
 String getGivenName()
           
 String getHonorificPrefix()
           
 String getHonorificSuffix()
           
 void setAdditionalName(String additionalName)
           
 void setFamilyName(String familyName)
           
 void setFormatted(String formatted)
          set the name formatted.
 void setGivenName(String givenName)
           
 void setHonorificPrefix(String honorificPrefix)
           
 void setHonorificSuffix(String honorificSuffix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameImpl

public NameImpl()

NameImpl

public NameImpl(String formatted)
Method Detail

getFormatted

public String getFormatted()
Specified by:
getFormatted in interface Name
Returns:
the name, formatted.

setFormatted

public void setFormatted(String formatted)
Description copied from interface: Name
set the name formatted.

Specified by:
setFormatted in interface Name
Parameters:
formatted - the name, formatted.

getAdditionalName

public String getAdditionalName()
Specified by:
getAdditionalName in interface Name
Returns:
get the additional name.

setAdditionalName

public void setAdditionalName(String additionalName)
Specified by:
setAdditionalName in interface Name
Parameters:
additionalName - set the additional name.

getFamilyName

public String getFamilyName()
Specified by:
getFamilyName in interface Name
Returns:
the family name.

setFamilyName

public void setFamilyName(String familyName)
Specified by:
setFamilyName in interface Name
Parameters:
familyName - the family name being set.

getGivenName

public String getGivenName()
Specified by:
getGivenName in interface Name
Returns:
the given name.

setGivenName

public void setGivenName(String givenName)
Specified by:
setGivenName in interface Name
Parameters:
givenName - the given name to be set.

getHonorificPrefix

public String getHonorificPrefix()
Specified by:
getHonorificPrefix in interface Name
Returns:
the honorific prefix.

setHonorificPrefix

public void setHonorificPrefix(String honorificPrefix)
Specified by:
setHonorificPrefix in interface Name
Parameters:
honorificPrefix - the honorific prefix to be set.

getHonorificSuffix

public String getHonorificSuffix()
Specified by:
getHonorificSuffix in interface Name
Returns:
the honorific suffix.

setHonorificSuffix

public void setHonorificSuffix(String honorificSuffix)
Specified by:
setHonorificSuffix in interface Name
Parameters:
honorificSuffix - the honorific suffix to set.


Copyright © 2007-2012. All Rights Reserved.