|
|||||||||||
| 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.Attribute
it.unimo.dbgroup.momis.odli3.SimpleAttribute
Descrive un'attributo semplice o complesso
| Field Summary | |
private int |
_fixArraySize
dimensione d'array |
private boolean |
_flagReadonly
true se e' di sola lettura |
private Type |
_type
tipo dell'attributo: puo' essere tipo-valore o tipo-classe |
private java.lang.String |
unknownType
nome del tipo dell'attributo, non ancora definito (variabile di comodo) |
| Fields inherited from class it.unimo.dbgroup.momis.odli3.Attribute |
COMPARE_ON_DOTTED_NAME, COMPARE_ON_NAME |
| 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 | |
SimpleAttribute()
basic constructor |
|
SimpleAttribute(java.lang.String n,
java.lang.Object t,
boolean fro,
int fas)
il costruttore deve specificare tutte le grandezze |
|
| Method Summary | |
int |
getFixArraySize()
|
boolean |
getFlagReadonly()
|
Type |
getType()
Returns the Type of this attribute. |
void |
loadFromXML(org.xml.sax.Attributes attrib)
Load the object from an xml tag. |
void |
setFixArraySize(int v)
|
void |
setFlagReadonly(boolean v)
|
void |
setType(Type v)
|
java.lang.String |
toOdl()
Odl Representation. |
java.lang.String |
toOlcdAttributes(TranslationMap tm,
TranslationMap tmName)
Returns the OLCD description. |
java.lang.String |
toString()
Returns a short description. |
| Methods inherited from class it.unimo.dbgroup.momis.odli3.Attribute |
control, getDottedName, getIntBody, getInterface, getMatchingAttribute, getName, getOntologyAnnotation, getOptionality, getSchema, setIntBody, setName, setOntologyAnnotation, setOptionality |
| 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 boolean _flagReadonly
private int _fixArraySize
private java.lang.String unknownType
private Type _type
| Constructor Detail |
public SimpleAttribute()
public SimpleAttribute(java.lang.String n,
java.lang.Object t,
boolean fro,
int fas)
n - nome dell'attributot - tipo dell'attributo: se gia' definito e' un oggetto Type,
altrimenti e' una stringa.fro - true se e' di sola letturafas - dimensione d'array| Method Detail |
public java.lang.String toOdl()
toOdl in interface AttributeInterfacetoOdl in class Attribute
public java.lang.String toOlcdAttributes(TranslationMap tm,
TranslationMap tmName)
toOlcdAttributes in interface AttributeInterfacetoOlcdAttributes in class Attributepublic java.lang.String toString()
public Type getType()
getType in interface AttributeInterfacegetType in class Attributepublic boolean getFlagReadonly()
public void setFlagReadonly(boolean v)
public int getFixArraySize()
public void setFixArraySize(int v)
public void setType(Type v)
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 | ||||||||||