|
deegree 2.3 (2010/04/09 10:10 build-4-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 id)
|
|
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 | |
|---|---|
static 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 |
static void |
checkForNullObject(Object toBeChecked,
String functionName,
String paramName)
throws an InvalidParameterException if the given object is null |
boolean |
equals(Object other)
|
String |
getAreaOfUse()
|
double[] |
getAreaOfUseBBox()
Returns the area of use, i.e. the domain where this Identifiable is valid. |
String[] |
getAreasOfUse()
|
String |
getDescription()
|
String[] |
getDescriptions()
|
String |
getIdAndName()
|
String |
getIdentifier()
|
String[] |
getIdentifiers()
|
String |
getName()
|
String[] |
getNames()
|
String |
getVersion()
|
String[] |
getVersions()
|
boolean |
hasID(String id)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, 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.public Identifiable(String id)
id - of the Identifier| 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 nullmessage - to put into the exception. If absent, the default message (CRS_INVALID_NULL_PARAMETER) will be
inserted.
IllegalArgumentException - if the given object is null.
public static void checkForNullObject(Object toBeChecked,
String functionName,
String paramName)
throws IllegalArgumentException
toBeChecked - for nullfunctionName - of the callerparamName - of the parameter to be checked.
IllegalArgumentException - if the given object is null.
public static void checkForNullObject(Object[] toBeChecked,
String message)
throws IllegalArgumentException
toBeChecked - for null or emptymessage - to put into the exception. If absent, 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 Objectpublic String getIdAndName()
public boolean equals(Object other)
equals in class Objectpublic 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.public boolean hasID(String id)
id - a string which could match this identifiable.
public double[] getAreaOfUseBBox()
Identifiable is valid.
null
(-180,-90,180,90) if no such information is available
|
deegree 2.3 (2010/04/09 10:10 build-4-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://www.deegree.org