|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.simbad.Oid
Object identifier class. Every astronomical object has an unique identifier over the time. An object identifier will never be reused if the astronomical object is deleted.
Field Summary | |
private static long |
NOT_DEFINED
|
private long |
oid
|
Constructor Summary | |
Oid()
Create an empty oid object. |
|
Oid(long val)
Create an oid object with the given value |
|
Oid(Oid o)
Copy constructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
MOD-BB 21-01-04 ajout de cette methode. |
boolean |
exists()
Checks if the Oid has a value |
long |
get()
Get the Oid value |
void |
reset()
Resets an Oid object to novalue |
void |
set(long val)
Sets an oid from a value |
void |
set(Oid o)
Sets an oid object from another one |
java.lang.String |
toString()
Display the Oid value as a string |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long NOT_DEFINED
private long oid
Constructor Detail |
public Oid()
public Oid(long val)
val
- numeric value to give to the oidpublic Oid(Oid o)
o
- Oid to copy in the created oneMethod Detail |
public final void set(long val)
val
- oid valuepublic void set(Oid o)
o
- Oid to copypublic final void reset()
public final long get()
public final boolean exists()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
o
- Object a comparer.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |