org.deegree.datatypes
Class Code
java.lang.Object
org.deegree.datatypes.Code
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- TypeCode
public class Code
- extends java.lang.Object
- implements java.io.Serializable
- Since:
- 2.0
- Version:
- $Revision: 23585 $, 1.0. $Revision: 23585 $, $Date: 2010-04-13 14:07:18 +0200 (Di, 13 Apr 2010) $
- Author:
- Andreas Poth, last edited by: $Author: aschmitz $
- See Also:
- Serialized Form
Constructor Summary |
Code(java.lang.String code)
|
Code(java.lang.String code,
int ordinal)
|
Code(java.lang.String code,
java.net.URI codeSpace)
|
Code(java.lang.String code,
java.net.URI codeSpace,
int ordinal)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Code
public Code(java.lang.String code)
- Parameters:
code
-
Code
public Code(java.lang.String code,
java.net.URI codeSpace)
- Parameters:
code
- codeSpace
-
Code
public Code(java.lang.String code,
int ordinal)
- Parameters:
code
- ordinal
-
Code
public Code(java.lang.String code,
java.net.URI codeSpace,
int ordinal)
- Parameters:
code
- codeSpace
- ordinal
-
getCode
public java.lang.String getCode()
- Returns:
- Returns the code.
setCode
public void setCode(java.lang.String code)
- Parameters:
code
- The code to set.
getCodeSpace
public java.net.URI getCodeSpace()
- Returns:
- Returns the codeSpace.
setCodeSpace
public void setCodeSpace(java.net.URI codeSpace)
- Parameters:
codeSpace
- The codeSpace to set.
getOrdinal
public int getOrdinal()
- Returns:
- Returns the ordinal.
setOrdinal
public void setOrdinal(int ordinal)
- Parameters:
ordinal
- The ordinal to set.
equals
public boolean equals(java.lang.Object other)
- Tests this Code for equality with another object.
- Overrides:
equals
in class java.lang.Object
- Parameters:
other
- object to compare
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org