|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.unimo.dbgroup.momis.odli3.MomisObject
it.unimo.dbgroup.momis.odli3.ThesRelation
Oggetto per descrivere una relazione terminologica.
memorizza:
nomeSorgente1, nomeClasse1, tipoDiRelazione, nomeSorgente2, nomeClasse2
| Field Summary | |
protected boolean |
_extensionalRelation
True if the relation is extensional, false means intensional. |
protected java.lang.String |
_iName1
Nome della classe 1. |
protected java.lang.String |
_iName2
Nome della classe 2. |
private TypeContainer |
_parentContainer
References the TypeContainer that contains this object. |
protected java.lang.String |
_relType
Tipo di relazione: SYN, BT, NT o RT . |
protected java.lang.String |
_sName1
Nome del sorgente 1. |
protected java.lang.String |
_sName2
Nome del sorgente 2. |
protected boolean |
_validated
True if the relation has been validated by ODB-Tools. |
| Fields inherited from class it.unimo.dbgroup.momis.odli3.MomisObject |
mod_GenericODLParser, mod_GlobalSchema, mod_QueryManger, mod_SIDes_ARM, mod_SIDes_ARTEMIS, mod_SIDes_EXTM, mod_SIDes_JoinMap, mod_SIDes_main, mod_SIDes_SAM, mod_SIDes_SIM, mod_SIDes_SIM2, mod_SIDes_SLIM, mod_SIDes_TREdit, mod_SIDes_TUNIM |
| Constructor Summary | |
ThesRelation()
|
|
| Method Summary | |
java.lang.Object |
clone()
method to clone the current object (only in children instances). |
void |
control(TypeContainer container)
Resolves the Relation. |
boolean |
equalElements(java.lang.Object relat)
Return True if two thesRelations are defined between the same two elements. |
java.lang.String |
getDottedName1()
Returns the dotted name for the first term in the relation. |
java.lang.String |
getDottedName2()
Returns the dotted name for the second term in the relation. |
boolean |
getIsExtensionalRelation()
Returns true if this relation is Extensional, false if intensional. |
TypeContainer |
getParent()
Setes the parent container. |
java.lang.String |
getRelType()
Returns the type of relation (rt, bt, nt, syn); |
boolean |
getValidated()
Retruns True if the relation has been validated by ODB-Tools. |
void |
loadFromXML(org.xml.sax.Attributes attrib)
Load the object from an xml tag. |
void |
setIsExtensionalRelation(boolean extensionalRelation)
Setes the isExtensional flag. |
void |
setParent(TypeContainer parentContainer)
Setes the parent container. |
void |
setValidated()
Sets the validated flag to true. |
void |
setValidated(boolean validated)
Set the validation property. |
java.lang.String |
toArtemis()
Generates a list of thesaurus relations for the ARTEMIS module. |
java.lang.String |
toOdl()
Returns the ODLi3 description. |
java.lang.String |
toString()
|
| Methods inherited from class it.unimo.dbgroup.momis.odli3.MomisObject |
getAdditionalInfo, getAdditionalInfos, getGenericProducerDescription, getProducerDescription, getProducerId, putAdditionalInfo, setProducerId |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private TypeContainer _parentContainer
protected java.lang.String _relType
protected java.lang.String _sName1
protected java.lang.String _sName2
protected java.lang.String _iName1
protected java.lang.String _iName2
protected boolean _validated
protected boolean _extensionalRelation
| Constructor Detail |
public ThesRelation()
| Method Detail |
public void control(TypeContainer container)
throws OdlException
OdlExceptionpublic java.lang.Object clone()
public java.lang.String getRelType()
public boolean getValidated()
public void setValidated(boolean validated)
public java.lang.String toArtemis()
S1.Class.Att1a ,bt ,S2.Class.Att2b ,0;Where an attribute is identified as:
public java.lang.String getDottedName1()
public java.lang.String getDottedName2()
public void setParent(TypeContainer parentContainer)
public TypeContainer getParent()
public java.lang.String toOdl()
public java.lang.String toString()
public void setValidated()
public boolean equalElements(java.lang.Object relat)
public void setIsExtensionalRelation(boolean extensionalRelation)
public boolean getIsExtensionalRelation()
public void loadFromXML(org.xml.sax.Attributes attrib)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||