|
|||||||||||
| 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.TypeContainer
it.unimo.dbgroup.momis.odli3.Interface
it.unimo.dbgroup.momis.odli3.GlobalInterface
This class describes a "Global interface".
| Field Summary | |
private GlobalJoinAttribute |
_globalJoinAttribute
The join information for this global class |
private boolean |
_isFused
If this Global Interface has been "fused" by TUNIM |
private java.util.Set |
_localInterfaces
Local Interfaces. |
private Interface |
_mostGeneralLocalInterface
|
| Fields inherited from class it.unimo.dbgroup.momis.odli3.Interface |
COMPARE_ON_NAME |
| Fields inherited from class it.unimo.dbgroup.momis.odli3.TypeContainer |
_constants, _interfaces, _sources, _structs, _thesRelations |
| 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 | |
GlobalInterface()
|
|
| Method Summary | |
void |
addIntBody(GlobalIntBody intBody)
Allowing only a specific kind of IntBody. |
void |
addIntBody(IntBody intBody)
Deprecated. |
void |
addLocalInterface(Interface v)
Add a _localInterfaces element |
GlobalJoinAttribute |
getGlobalJoinAttribute()
Getter for the _globalJoinAttribute field |
boolean |
getIsFused()
Getter for the _isFused field |
java.util.Collection |
getLocalInterfaces()
Getter for the _localInterfaces field |
Interface |
getMostGeneralLocalInterface()
getter of _mostGeneralLocalInterface param |
java.lang.String |
getNameFromMapping(Schema schema)
this method retrieves the name of this global interface from the mapping. |
boolean |
hasLocalInterface(Interface intf)
Asks if has at least one element |
boolean |
hasLocalInterfaces()
Asks if has at least one element |
void |
loadFromXML(org.xml.sax.Attributes attrib)
Load the object from an xml tag. |
private java.lang.String |
resolveGlobalAttrDuplicateNames(GlobalSource gSource,
java.lang.String nameToControl)
method that relolve duplicates global interface names into the same globalSource. |
void |
setGlobalJoinAttribute(GlobalJoinAttribute v)
Setter for the _globalJoinAttribute field |
void |
setIsFused(boolean v)
Setter for the _isFused field |
void |
setMostGeneralLocalInterface(Schema schema)
this method retrieves the name of this global attribute from the mapping. |
| Methods inherited from class it.unimo.dbgroup.momis.odli3.MomisObject |
getAdditionalInfo, getAdditionalInfos, getGenericProducerDescription, getProducerDescription, getProducerId, putAdditionalInfo, setProducerId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.util.Set _localInterfaces
private boolean _isFused
private GlobalJoinAttribute _globalJoinAttribute
private Interface _mostGeneralLocalInterface
| Constructor Detail |
public GlobalInterface()
| Method Detail |
public void addIntBody(GlobalIntBody intBody)
throws OdlException
OdlException
public void addIntBody(IntBody intBody)
throws OdlException
addIntBody in class TypeContainerOdlExceptionpublic java.util.Collection getLocalInterfaces()
public void addLocalInterface(Interface v)
public boolean hasLocalInterfaces()
public boolean hasLocalInterface(Interface intf)
public boolean getIsFused()
public void setIsFused(boolean v)
public void loadFromXML(org.xml.sax.Attributes attrib)
throws java.lang.Exception
loadFromXML in class Interfacejava.lang.Exceptionpublic void setMostGeneralLocalInterface(Schema schema)
public Interface getMostGeneralLocalInterface()
public GlobalJoinAttribute getGlobalJoinAttribute()
public void setGlobalJoinAttribute(GlobalJoinAttribute v)
public java.lang.String getNameFromMapping(Schema schema)
private java.lang.String resolveGlobalAttrDuplicateNames(GlobalSource gSource,
java.lang.String nameToControl)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||