|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.crs.Identifiable
public class Identifiable
The Identifiable
class can be used to identify a crs, ellipsoid, Datum and primemeridian
Constructor Summary | |
---|---|
Identifiable(Identifiable other)
Takes the references of the other object and stores them in this Identifiable Object. |
|
Identifiable(String[] identifiers)
Creates arrays fromt the given identifier and name without setting the versions, descriptions and areasOfUse. |
|
Identifiable(String[] identifiers,
String[] names,
String[] versions,
String[] descriptions,
String[] areasOfUse)
|
Method Summary | |
---|---|
protected void |
checkForNullObject(Object[] toBeChecked,
String message)
throws an IllegalArgumentException if the given object array is null or empty |
protected void |
checkForNullObject(Object toBeChecked,
String message)
throws an InvalidParameterException if the given object is null |
String |
getAreaOfUse()
|
String[] |
getAreasOfUse()
|
String |
getDescription()
|
String[] |
getDescriptions()
|
String |
getIdAndName()
|
String |
getIdentifier()
|
String[] |
getIdentifiers()
|
String |
getName()
|
String[] |
getNames()
|
String |
getVersion()
|
String[] |
getVersions()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Identifiable(Identifiable other)
other
- identifiable object.public Identifiable(String[] identifiers, String[] names, String[] versions, String[] descriptions, String[] areasOfUse)
identifiers
- names
- the human readable names of the object.versions
- descriptions
- areasOfUse
-
IllegalArgumentException
- if no identifier(s) was/were given.public Identifiable(String[] identifiers)
identifiers
- of the object.Method Detail |
---|
public final String getAreaOfUse()
null
if no areasOfUse were given.public final String getDescription()
null
if no descriptions were given.public final String getIdentifier()
public final String getName()
null
if no names were given.public final String getVersion()
null
if no versions were given.protected void checkForNullObject(Object toBeChecked, String message) throws IllegalArgumentException
toBeChecked
- for null
message
- to put into the exception. If absend, the default message (CRS_INVALID_NULL_PARAMETER) will be
inserted.
IllegalArgumentException
- if the given object is null
.protected void checkForNullObject(Object[] toBeChecked, String message) throws IllegalArgumentException
toBeChecked
- for null
or emptymessage
- to put into the exception. If absend, the default message (CRS_INVALID_NULL_PARAMETER) will be
inserted.
IllegalArgumentException
- if the given object array is null
or empty.public String toString()
toString
in class Object
public String getIdAndName()
public final String[] getAreasOfUse()
null
if no areasOfUse were given.public final String[] getDescriptions()
null
if no descriptions were given.public final String[] getIdentifiers()
public final String[] getNames()
null
if no names were given.public final String[] getVersions()
null
if no versions were given.
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net