|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConceptualInstanceCtx
The IConceptualInstanceCtx interface is the interface for the runtime representation of conceptual instances defined in a Brahms model. The conceptual instance context manages the creation and deletion time of the conceptual instances. The conceptual instance context also manages the list of sub aggregates or parts of the conceptual instance and the parent aggregates of the conceptual instance.
Method Summary | |
---|---|
void |
addAggregate(PartCtx aggregate)
Adds the specified aggregate as an aggregate for this conceptual instance. |
void |
addSubAggregate(PartCtx subaggregate)
Adds the specified sub aggregate as a sub aggregate for this conceptual instance. |
java.util.Enumeration |
getAggregates()
Returns a list of all the aggregates (PartCtx). |
java.util.Enumeration |
getSubAggregates()
Returns a list of all the sub aggregates (PartCtx). |
void |
removeAggregate(PartCtx aggregate)
Removes the specified aggregate as an aggregate for this conceptual instance. |
void |
removeAllAggregates()
Removes all the aggregates from the list of aggregates. |
void |
removeAllSubAggregates()
Removes all the sub aggregates from the list of aggregates. |
void |
removeSubAggregate(PartCtx subaggregate)
Removes the specified sub aggregate as a sub aggregate from this conceptual instance. |
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx |
---|
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime |
Method Detail |
---|
void addAggregate(PartCtx aggregate) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
aggregate
- the aggregate (PartCtx) to be added
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if aggregate is nullvoid removeAggregate(PartCtx aggregate) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
aggregate
- the aggregate to be removed
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if aggregate is null, no aggregates
are available, or the aggregate is not foundjava.util.Enumeration getAggregates() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if there are no aggregatesvoid removeAllAggregates()
void addSubAggregate(PartCtx subaggregate) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
subaggregate
- the sub aggregate (PartCtx) to be added
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if sub aggregate is nullvoid removeSubAggregate(PartCtx subaggregate) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
subaggregate
- the aggregate to be removed
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if sub aggregate is null, no sub aggregates
are available, or the sub aggregate is not foundjava.util.Enumeration getSubAggregates() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if there are no sub aggregatesvoid removeAllSubAggregates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |