|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.simbad.ident.Catalog
Classe contenant les infos provenant du fichier de description le nom standard du catalogue, la liste des pgm rencontre, la liste des exemples, la description
Field Summary | |
protected java.lang.String |
description
|
protected java.lang.String |
otype
|
protected java.util.ArrayList |
pgmList
|
protected java.util.ArrayList |
reList
|
protected int |
size
|
protected java.lang.String |
stdName
|
Constructor Summary | |
Catalog(java.lang.String stdName)
|
Method Summary | |
void |
addExample(java.lang.String example)
adds a example. |
void |
addFormat(java.lang.String fmt)
adds a format. |
void |
addPgm(Pgm pgm)
Add a programme to the catalogue |
void |
addSynonym(java.lang.String syn)
adds a synonym. |
void |
addVersion(java.lang.String version)
adds a version definition. |
void |
clearExamples()
clears the list of examples. |
void |
clearFormats()
clears the list of formats. |
void |
clearSynonyms()
clears the list of synonyms. |
void |
clearVersions()
clears the list of versions. |
boolean |
equals(java.lang.Object o)
MOD-BB 21-01-04 Ajout de cette methode. |
java.lang.String |
getComment()
returns the comment associated with the catalogue |
java.lang.String |
getDescription()
return the catalogue description |
java.lang.String[] |
getExamples()
returns a String array with all the examples. |
java.lang.String[] |
getFormats()
returns a String array with all the formats. |
java.lang.String |
getName()
return the standard name of the catalogue |
java.lang.String |
getOType()
return the object type |
Pgm |
getPgm(int index)
Returns the Program specified by its index |
Pgm[] |
getPgmList()
Returns the array of the programs for this catalogue |
int |
getSize()
return the size of this catalogue. |
java.lang.String[] |
getSynonyms()
returns a String array with all the synonyms. |
java.lang.String[] |
getVersions()
returns a String array with all the versions. |
void |
setComment(java.lang.String comment)
adds a general comment. |
void |
setDescription(java.lang.String descr)
Sets the description text for the catalogue |
void |
setName(java.lang.String name)
sets the standard name of the catalogue |
void |
setOType(java.lang.String otype)
Sets the object type for this catalogue |
void |
setSize(int size)
Sets the size of this catalogue |
java.util.ArrayList |
toRE()
Returns the list of all regular expressions derived from the programmes. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String stdName
protected java.lang.String description
protected java.lang.String otype
protected int size
protected java.util.ArrayList pgmList
protected java.util.ArrayList reList
Constructor Detail |
public Catalog(java.lang.String stdName)
Method Detail |
public void addPgm(Pgm pgm)
pgm
- Normalisation programme to addpublic void setName(java.lang.String name)
name
- standard name of the cataloguepublic java.lang.String getName()
public void setDescription(java.lang.String descr)
descr
- catalogue short descriptionpublic java.lang.String getDescription()
public void setOType(java.lang.String otype)
otype
- object typepublic java.lang.String getOType()
public void setSize(int size)
size
- number of object of this cataloguepublic int getSize()
public Pgm getPgm(int index)
index
- of the programme to return
public Pgm[] getPgmList()
public java.lang.String toString()
public java.util.ArrayList toRE()
public void clearFormats()
public void addFormat(java.lang.String fmt)
fmt
- formatpublic java.lang.String[] getFormats()
public void clearExamples()
public void addExample(java.lang.String example)
example
- example to addpublic java.lang.String[] getExamples()
public void clearSynonyms()
public void addSynonym(java.lang.String syn)
syn
- synonym to addpublic java.lang.String[] getSynonyms()
public void clearVersions()
public void addVersion(java.lang.String version)
version
- version to addpublic java.lang.String[] getVersions()
public void setComment(java.lang.String comment)
comment
- comment to addpublic java.lang.String getComment()
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 |