|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.simbad.MagnitudePecul
Magnitude peculiarities object: V[0-4?]D
Field Summary | |
private boolean |
mult
|
private char |
varampl
|
Constructor Summary | |
MagnitudePecul()
Empty constructor |
|
MagnitudePecul(boolean mult)
Constructor with a multiplicity flag. variab. ampl. is '\0' |
|
MagnitudePecul(boolean mult,
char varampl)
Constructor with a variability amplitude char and a multiplicity flag |
|
MagnitudePecul(char varampl)
Constructor with a variability amplitude. |
|
MagnitudePecul(java.lang.String pec)
Constructor from a string of format V[0-4?] |
Method Summary | |
boolean |
equals(java.lang.Object o)
MOD-BB 21-01-04 Ajout de cette methode. |
boolean |
getMult()
returns the multiplicity flag |
char |
getvarAmplitude()
returns the variab. amplitude value |
void |
reset()
Resets a peculiarity object. |
void |
set(java.lang.String pec)
Sets a peculiarity string |
void |
setMultiplicity(boolean mult)
Sets the multiplicity flag of magn. peculiarities |
void |
setVariability(char varampl)
Sets the variability flag |
java.lang.String |
toString()
displays the magnitude peculiarities in a string |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private boolean mult
private char varampl
Constructor Detail |
public MagnitudePecul()
public MagnitudePecul(java.lang.String pec)
pec
- string to analysepublic MagnitudePecul(boolean mult, char varampl)
mult
- multiplicity flagvarampl
- variability amplitude: 0..4 or ? (not checked)public MagnitudePecul(boolean mult)
mult
- multiplicity flagpublic MagnitudePecul(char varampl)
varampl
- variability amplitude: 0..4 or ? (not checked)Method Detail |
public void set(java.lang.String pec)
pec
- peculiarity string. Syntax: 'V[0-4]?D'. The string
can be partial and each item can be set independently.public void setMultiplicity(boolean mult)
mult
- the multiplicity flagpublic void setVariability(char varampl)
varampl
- variability flag (0,1,2,3,4,?)public void reset()
public boolean getMult()
public char getvarAmplitude()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
o
- Objet a comparer.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |