|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nasa.arc.brahms.common.data.BrahmsObject
public class BrahmsObject
BrahmsObject is a generic object extended by all brahms data objects. It provides support for file name and line number in which an object occurs as well as list change and property change support for bound properties and bound lists.
Field Summary |
---|
Fields inherited from interface gov.nasa.arc.brahms.common.IConstants |
---|
ABORT, ACTIVECLASS, ACTIVECONCEPT, ACTIVEINSTANCE, AGENT, ANONYMOUS, ANYAGENT, AREA, AREADEF, ASSIGNED, ATTRIBUTE, BASEAREADEF, BASECLASS, BASECONCEPTUALCLASS, BASEGROUP, BASELIBRARY, BOOLEAN, BROADCAST, BUILDING, BYTE, CCLOCK, CDATE, CHAR, CITY, CLASS, CLOCK, COLLECTALL, COMMUNICATE, COMPLETE, COMPOSITE, COMPUTER, CONCEPT, CONCEPTUALCLASS, CONCEPTUALCONCEPT, CONCEPTUALOBJECT, CONTINUE, COPY, CREATEAGENT, CREATEAREA, CREATEOBJECT, current, CURRENT, DATAFRAME, DATE, DB, DETECTABLE, DIV, DOUBLE, EMAIL, EMPTY_STRING, END, ENDACTIVITY, ENTAGENT, EQ, EXCEPTION, EXPR, FACE2FACE, FACTFRAME, FALSE, FAX, FLOAT, FOREACH, FORONE, G2, GE, GEOGRAPHYCONCEPT, GESTURE, GET, GROUP, GT, IMPASSE, INT, INVALID, JAVA, JAVA_TYPE, KNOWN_MODIFIER, KNOWNVAL_MODIFIER, LE, LOCAL, LONG, LT, MAP, MINUS, MOD, MOVE, MULT, NE, NEW, NONE, NOT_MODIFIER, NOWORK, O, OA, OBJECT, ONTOLOGY, PAGER, PARAMETER, PATH, PHONE, PLUS, PRIMITIVE, PRIVATE, PROAGENT, PROTECTED, PRSAGENT, PUBLIC, PUT, RECEIVE, RELATION, sACTIVECLASS, sACTIVECONCEPT, sACTIVEINSTANCE, sAGENT, sARCHIVE, sAREA, sAREADEF, sBOOLEAN, sBYTE, sBYTECODEEXT, sCHAR, sCLASS, sCOMPUTER, sCONCEPT, sCONCEPTUALCLASS, sCONCEPTUALCONCEPT, sCONCEPTUALOBJECT, sCOPY, sCURRENT, sDETECTABLE, sDOUBLE, sEMAIL, sEND, SEND, sFACE2FACE, sFAX, sFILEEXT, sFLOAT, sGEOGRAPHYCONCEPT, sGROUP, SHORT, SIMAGENT, sINT, sJAVA_TYPE, sLONG, sMAP, sNEW, sNONE, sNOWORK, sOBJECT, SOURCECODE, sPAGER, sPARAMETER, sPATH, sPHONE, sPRIVATE, sPROJECTEXT, sPROTECTED, sPUBLIC, sSHORT, sSTART, sSTRING, sSYMBOL, START, STRING, sUNKNOWN, sVOID, SYMBOL, TRUE, UDT, UML, UNASSIGNED, UNDEFINED, unknown, UNKNOWN, UNKNOWN_MODIFIER, V, VARIABLE, VOID, WHENEVER, WORKFRAME, WORLD, XML |
Constructor Summary | |
---|---|
BrahmsObject()
Constructor, creates a new BrahmsObject |
|
BrahmsObject(java.lang.String file,
int line)
Constructor, creates a new BrahmsObject which is located as brahms source code in the given file at the given line number. |
Method Summary | |
---|---|
void |
delete()
Deletes this BrahmsObject. |
void |
export(IFormat format,
java.util.Properties p,
java.io.DataOutputStream out)
Exports this object in the given format with the given properties to the given stream. |
java.lang.String |
getFile()
Returns the file name of the file in which the source code of this object is located. |
java.lang.String |
getID()
Returns the unique identifier of the BrahmsObject. |
int |
getLine()
Returns the line number in the file where the source code of this object begins. |
int |
getSerialNumber()
Returns the serial number for this object |
boolean |
isBCC()
Indicates whether this object was generated from Brahms Compiled Code. |
boolean |
isDynamic()
Indicates whether the Brahms model element was created dynamically at runtime or was created at design time. |
boolean |
isLoaded()
Returns whether the object is loaded for use in a Brahms virtual machine. |
boolean |
isResolved()
Return whether the object is fully resolved for use in a Brahms virtual machine. |
void |
setBCC(boolean bcc)
Sets whether this object was generated from Brahms Compiled Code. |
void |
setDynamic(boolean dynamic)
Sets whether the Brahms model element was created dynamically at runtime or was created at design time. |
void |
setFile(java.lang.String file)
Sets the file name of the file in which the source code of this object is located. |
protected void |
setID()
Sets the unique identifier for the BrahmsObject. |
protected void |
setID(java.lang.String id)
Sets the unique identifier for the BrahmsObject. |
void |
setLine(int line)
Sets the line number in the file where the source code of this object begins. |
void |
setLoaded(boolean loaded)
Set whether the object is loaded for use in a Brahms virtual machine. |
void |
setResolved(boolean resolved)
Set whether the object is fully resolved for use in a Brahms virtual machine. |
void |
setSerialNumber(int sn)
Sets the serial number for this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrahmsObject()
public BrahmsObject(java.lang.String file, int line)
file
- the name of the fileline
- the line number in the fileMethod Detail |
---|
protected void setID()
protected final void setID(java.lang.String id)
id
- the unique identifierpublic final java.lang.String getID()
public void setFile(java.lang.String file)
file
- the file namepublic java.lang.String getFile()
public void setLine(int line)
line
- the line numberpublic int getLine()
public void setBCC(boolean bcc)
bcc
- true if generated from Brahms Compiled Code, false if generated
from source code.public boolean isBCC()
public void setResolved(boolean resolved)
Note: The default value for this attribute is true for compatibility with other Brahms components.
resolved
- true if resolved, false otherwisepublic boolean isResolved()
Note: The default value for this attribute is true for compatibility with other Brahms components.
public void setLoaded(boolean loaded)
Note: The default value for this attribute is true for compatibility with other Brahms components.
loaded
- true if loaded, false otherwisepublic boolean isLoaded()
Note: The default value for this attribute is true for compatibility with other Brahms components.
public void setDynamic(boolean dynamic)
dynamic
- true if the object was created at runtime, false if it
was created at design time.public boolean isDynamic()
public void delete()
Note:This method is not implemented and requires an implementation by its sub classes that support the deletion. This method is placed here to enable polymorphism.
public void setSerialNumber(int sn)
sn
- the serial numberpublic int getSerialNumber()
public void export(IFormat format, java.util.Properties p, java.io.DataOutputStream out)
format
- the IFormat to export this object asp
- the Properties required for the formatout
- the DataOutputStream to write the output to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |