org.jomc.mojo
Class LocaleType

Package class diagram package LocaleType
java.lang.Object
  extended by org.jomc.mojo.LocaleType
All Implemented Interfaces:
Cloneable

public class LocaleType
extends Object
implements Cloneable

Datatype holding a language, country and variant property.

Since:
1.2
Version:
$JOMC: LocaleType.java 3881 2011-10-24 01:00:55Z schulte2005 $
Author:
Christian Schulte

Constructor Summary
LocaleType()
          Creates a new LocaleType instance.
 
Method Summary
 LocaleType clone()
          Creates and returns a copy of this object.
 String getCountry()
          Gets the value of the country property.
 String getLanguage()
          Gets the value of the language property.
 String getVariant()
          Gets the value of the variant property.
 void setCountry(String value)
          Sets the value of the country property.
 void setLanguage(String value)
          Sets the value of the language property.
 void setVariant(String value)
          Sets the value of the variant property.
 String toString()
          Creates and returns a string representation of the object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocaleType

public LocaleType()
Creates a new LocaleType instance.

Method Detail

getLanguage

public final String getLanguage()
Gets the value of the language property.

Returns:
The value of the language property.
See Also:
setLanguage(java.lang.String)

setLanguage

public final void setLanguage(String value)
Sets the value of the language property.

Parameters:
value - The new value of the language property or null.
See Also:
getLanguage()

getCountry

public final String getCountry()
Gets the value of the country property.

Returns:
The value of the country property.
See Also:
setCountry(java.lang.String)

setCountry

public final void setCountry(String value)
Sets the value of the country property.

Parameters:
value - The new value of the country property or null.
See Also:
getCountry()

getVariant

public final String getVariant()
Gets the value of the variant property.

Returns:
The value of the variant property.
See Also:
setVariant(java.lang.String)

setVariant

public final void setVariant(String value)
Sets the value of the variant property.

Parameters:
value - The new value of the variant property or null.
See Also:
getVariant()

clone

public LocaleType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A copy of this object.

toString

public String toString()
Creates and returns a string representation of the object.

Overrides:
toString in class Object
Returns:
A string representation of the object.


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.