|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx gov.nasa.arc.brahms.common.rt.PartCtx
public class PartCtx
The PartCtx is the context defining the relationship between a conceptual instance context and a sub aggregate. The PartCtx defines when a conceptual instance or object instance became a part of another conceptual instance and when a part was disassociated with a conceptual instance.
Field Summary |
---|
Fields inherited from interface gov.nasa.arc.brahms.common.rt.IRuntimeConstants |
---|
ABORTED, ACTIVE, ACTIVITY, AVAILABLE, COMPLETED, CONSEQUENCE, DETECTABLE, ENDED, ENGINE, EXTERNAL_AGENT, FROM, IMPASSED, INITIAL, INTERRUPTED, JAVA_PROPERTY, sABORTED, sACTIVE, sAVAILABLE, sCOMPLETED, sENDED, sIMPASSED, sINTERRUPTED, sUNAVAILABLE, TO, TRANSFER, UNAVAILABLE |
Constructor Summary | |
---|---|
PartCtx(IConceptualInstanceCtx aggregate,
IConceptCtx part)
Constructor, creates a new PartCtx associating a conceptual instance and a concept (conceptual instance or object instance). |
Method Summary | |
---|---|
IConceptualInstanceCtx |
getAggregate()
Returns the conceptual instance being the aggregate for the part specified in this part context. |
IConceptCtx |
getPart()
Returns the conceptual instance (ConceptualInstanceCtx) or object instance (ObjectInstanceCtx) being part of the aggregate specified in this part context. |
void |
setAggregate(IConceptualInstanceCtx aggregate)
Sets the conceptual instance being the aggregate for the part specified in this part context. |
void |
setPart(IConceptCtx part)
Sets the conceptual instance (ConceptualInstanceCtx) or object instance (ObjectInstanceCtx) being part of the aggregate specified in this part context. |
Methods inherited from class gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx |
---|
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setContextFor, setEndTime, setID, setStartTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartCtx(IConceptualInstanceCtx aggregate, IConceptCtx part) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
aggregate
- the conceptual instance serving as the aggregatepart
- the conceptual instance or object instance serving
as the part or sub aggregate.
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null aggregate or part is specifiedMethod Detail |
---|
public void setAggregate(IConceptualInstanceCtx aggregate) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
aggregate
- the aggregate conceptual instance (ConceptualInstanceCtx)
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null aggregate is specifiedpublic IConceptualInstanceCtx getAggregate() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no aggregate is specifiedpublic void setPart(IConceptCtx part) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
part
- the part conceptual instance or object instance (ConceptCtx)
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null part is specifiedpublic IConceptCtx getPart() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no part is specified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |