|
|||||||||||
| 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.IntBody
Descrive una possibile implementazione dell'interfaccia relativa dell'interfaccia relativa
| Field Summary | |
private java.util.HashMap |
_attributes
lista degli attributi, e' un HashMap con: key nome dell'attributo value oggetto Attribute |
private java.lang.String |
_identifier
Identificatore dell'interface body (quello che segue interface se e' il primo body oppure quello che segue union se e' un body in union con altri). |
static java.util.Comparator |
COMPARE_ON_NAME
Comparator used to Sort arrays. |
java.util.HashMap |
operations
lista delle operazioni: e' un HashMap con: key nome dell'operazione value oggetto Operation |
| 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 | |
IntBody()
Constructor. |
|
IntBody(java.lang.String name)
Constructor. |
|
| Method Summary | |
void |
addAttribute(AttributeInterface a)
aggiunge un attributo alla corrente implementazione di interfaccia |
void |
addOperation(Operation o)
aggiunge un'operazione alla corrente implementazione di interfaccia |
void |
aggiornaAttributes()
this method forces the generation of the attributes Map |
private void |
aggiornaAttributes(boolean forceExecution)
Initialize the attributes hashmap as postprocessing operation. |
void |
control()
Consistency check routine. |
void |
delAttribute(AttributeInterface a)
elimina un attributo dalla corrente implementazione di interfaccia |
Attribute |
getAttribute(java.lang.String n)
cerca un attributo con un determinato nome |
java.lang.Object[] |
getAttributes()
Returns the array of all the defined Attributes. |
java.util.Collection |
getAttributesAsCollection()
Returns all the defined Attributes. |
java.lang.Object[] |
getAttributesOrderByName()
Returns the array of all the defined Attributes types order by attribute name. |
java.lang.String |
getName()
Gets the name (identifier) for this IntBody. |
void |
loadFromXML(org.xml.sax.Attributes attrib)
Load the object from an xml tag. |
void |
setName(java.lang.String name)
Sets the name (identifier) for this IntBody. |
java.lang.String |
toOdl()
Returns the Odl description for a IntBody. |
java.lang.String |
toOlcdAttributes(TranslationMap tm,
TranslationMap tmName)
Returns the OLCD description Of the attriubtes contained in this IntBody. |
java.lang.String |
toString()
String representation for the TypeContainer. |
| 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 |
public static final java.util.Comparator COMPARE_ON_NAME
private java.lang.String _identifier
private java.util.HashMap _attributes
public java.util.HashMap operations
| Constructor Detail |
public IntBody()
public IntBody(java.lang.String name)
name - this interface-body name| Method Detail |
public void setName(java.lang.String name)
public java.lang.String getName()
getName in class TypeContainer
public void control()
throws OdlException
OdlExceptionpublic Attribute getAttribute(java.lang.String n)
n - nome dell'attributo da cercare
public java.lang.Object[] getAttributes()
public java.lang.Object[] getAttributesOrderByName()
public java.util.Collection getAttributesAsCollection()
public void addAttribute(AttributeInterface a)
throws OdlException
a - attributo da aggiungere
OdlException
public void delAttribute(AttributeInterface a)
throws OdlException
a - attributo da eliminare
OdlExceptionprivate void aggiornaAttributes(boolean forceExecution)
public void aggiornaAttributes()
public void addOperation(Operation o)
o - operazione da aggiungerepublic java.lang.String toOdl()
toOdl in class TypeContainer
public java.lang.String toOlcdAttributes(TranslationMap tm,
TranslationMap tmName)
public void loadFromXML(org.xml.sax.Attributes attrib)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String toString()
toString in class TypeContainer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||