|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The context interface for the messages package. This interface is used to create objects that are used in the messages namespace.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Method Summary | |
ICauseTime |
createCauseTime()
Create an ICauseTime object in this namespace. |
ICount |
createCount()
Create an ICount object in this namespace. |
IDescription |
createDescription()
Create an edu.uci.isr.xarch.instance.IDescription object in this namespace. |
IGenericMessage |
createGenericMessage()
Create an IGenericMessage object in this namespace. |
IKind |
createKind()
Create an IKind object in this namespace. |
IMessageCausalitySpecification |
createMessageCausalitySpecification()
Create an IMessageCausalitySpecification object in this namespace. |
IMessageName |
createMessageName()
Create an IMessageName object in this namespace. |
IMessageType |
createMessageType()
Create an IMessageType object in this namespace. |
INamedProperty |
createNamedProperty()
Create an INamedProperty object in this namespace. |
INamedPropertyMessage |
createNamedPropertyMessage()
Create an INamedPropertyMessage object in this namespace. |
IProductionRule |
createProductionRule()
Create an IProductionRule object in this namespace. |
IPropertyName |
createPropertyName()
Create an IPropertyName object in this namespace. |
IPropertyValue |
createPropertyValue()
Create an IPropertyValue object in this namespace. |
IRuleSpecification |
createRuleSpecification()
Create an IRuleSpecification object in this namespace. |
IRuleSpecification |
createRuleSpecificationElement()
Create a top-level element of type IRuleSpecification. |
IVariantComponentTypeImplVersSpec |
createVariantComponentTypeImplVersSpec()
Create an IVariantComponentTypeImplVersSpec object in this namespace. |
IVariantConnectorTypeImplVersSpec |
createVariantConnectorTypeImplVersSpec()
Create an IVariantConnectorTypeImplVersSpec object in this namespace. |
IXMLLink |
createXMLLink()
Create an edu.uci.isr.xarch.instance.IXMLLink object in this namespace. |
Collection |
getAllRuleSpecifications(IXArch xArch)
Gets all the IRuleSpecification children from the given IXArch element. |
IRuleSpecification |
getRuleSpecification(IXArch xArch)
Gets the IRuleSpecification child from the given IXArch
element. |
INamedPropertyMessage |
promoteToNamedPropertyMessage(IGenericMessage value)
Promote an object of type IGenericMessage
to one of type INamedPropertyMessage. |
IVariantComponentTypeImplVersSpec |
promoteToVariantComponentTypeImplVersSpec(IVariantComponentTypeImplVers value)
Promote an object of type edu.uci.isr.xarch.versions.IVariantComponentTypeImplVers
to one of type IVariantComponentTypeImplVersSpec. |
IVariantConnectorTypeImplVersSpec |
promoteToVariantConnectorTypeImplVersSpec(IVariantConnectorTypeImplVers value)
Promote an object of type edu.uci.isr.xarch.versions.IVariantConnectorTypeImplVers
to one of type IVariantConnectorTypeImplVersSpec. |
ICauseTime |
recontextualizeCauseTime(ICauseTime value)
Brings an ICauseTime object created in another context into this context. |
ICount |
recontextualizeCount(ICount value)
Brings an ICount object created in another context into this context. |
IDescription |
recontextualizeDescription(IDescription value)
Brings an edu.uci.isr.xarch.instance.IDescription object created in another context into this context. |
IGenericMessage |
recontextualizeGenericMessage(IGenericMessage value)
Brings an IGenericMessage object created in another context into this context. |
IKind |
recontextualizeKind(IKind value)
Brings an IKind object created in another context into this context. |
IMessageCausalitySpecification |
recontextualizeMessageCausalitySpecification(IMessageCausalitySpecification value)
Brings an IMessageCausalitySpecification object created in another context into this context. |
IMessageName |
recontextualizeMessageName(IMessageName value)
Brings an IMessageName object created in another context into this context. |
IMessageType |
recontextualizeMessageType(IMessageType value)
Brings an IMessageType object created in another context into this context. |
INamedProperty |
recontextualizeNamedProperty(INamedProperty value)
Brings an INamedProperty object created in another context into this context. |
INamedPropertyMessage |
recontextualizeNamedPropertyMessage(INamedPropertyMessage value)
Brings an INamedPropertyMessage object created in another context into this context. |
IProductionRule |
recontextualizeProductionRule(IProductionRule value)
Brings an IProductionRule object created in another context into this context. |
IPropertyName |
recontextualizePropertyName(IPropertyName value)
Brings an IPropertyName object created in another context into this context. |
IPropertyValue |
recontextualizePropertyValue(IPropertyValue value)
Brings an IPropertyValue object created in another context into this context. |
IRuleSpecification |
recontextualizeRuleSpecification(IRuleSpecification value)
Brings an IRuleSpecification object created in another context into this context. |
IVariantComponentTypeImplVersSpec |
recontextualizeVariantComponentTypeImplVersSpec(IVariantComponentTypeImplVersSpec value)
Brings an IVariantComponentTypeImplVersSpec object created in another context into this context. |
IVariantConnectorTypeImplVersSpec |
recontextualizeVariantConnectorTypeImplVersSpec(IVariantConnectorTypeImplVersSpec value)
Brings an IVariantConnectorTypeImplVersSpec object created in another context into this context. |
IXMLLink |
recontextualizeXMLLink(IXMLLink value)
Brings an edu.uci.isr.xarch.instance.IXMLLink object created in another context into this context. |
| Methods inherited from interface edu.uci.isr.xarch.IXArchContext |
getTypeMetadata, getXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public IKind createKind()
public IKind recontextualizeKind(IKind value)
value - Object to recontextualize.
value object in this namespace.public IRuleSpecification createRuleSpecification()
public IRuleSpecification recontextualizeRuleSpecification(IRuleSpecification value)
value - Object to recontextualize.
value object in this namespace.public IDescription createDescription()
public IDescription recontextualizeDescription(IDescription value)
value - Object to recontextualize.
value object in this namespace.public IProductionRule createProductionRule()
public IProductionRule recontextualizeProductionRule(IProductionRule value)
value - Object to recontextualize.
value object in this namespace.public IVariantComponentTypeImplVersSpec createVariantComponentTypeImplVersSpec()
public IVariantComponentTypeImplVersSpec recontextualizeVariantComponentTypeImplVersSpec(IVariantComponentTypeImplVersSpec value)
value - Object to recontextualize.
value object in this namespace.public IVariantComponentTypeImplVersSpec promoteToVariantComponentTypeImplVersSpec(IVariantComponentTypeImplVers value)
edu.uci.isr.xarch.versions.IVariantComponentTypeImplVers
to one of type IVariantComponentTypeImplVersSpec. xArch APIs
are structured in such a way that a regular cast is not possible
to change interface types, so casting must be done through these
promotion functions. If the edu.uci.isr.xarch.versions.IVariantComponentTypeImplVers
object wraps a DOM element that is the base type, then the
xsi:type of the base element is promoted. Otherwise,
it is left unchanged.
This function also emits an XArchEvent with type
PROMOTE_TYPE. The source for this events is the pre-promoted
IXArchElement object (should no longer be used), and the
target is the post-promotion object. The target name is
the name of the interface class that was the target of the
promotion.
value - Object to promote.
public IVariantConnectorTypeImplVersSpec createVariantConnectorTypeImplVersSpec()
public IVariantConnectorTypeImplVersSpec recontextualizeVariantConnectorTypeImplVersSpec(IVariantConnectorTypeImplVersSpec value)
value - Object to recontextualize.
value object in this namespace.public IVariantConnectorTypeImplVersSpec promoteToVariantConnectorTypeImplVersSpec(IVariantConnectorTypeImplVers value)
edu.uci.isr.xarch.versions.IVariantConnectorTypeImplVers
to one of type IVariantConnectorTypeImplVersSpec. xArch APIs
are structured in such a way that a regular cast is not possible
to change interface types, so casting must be done through these
promotion functions. If the edu.uci.isr.xarch.versions.IVariantConnectorTypeImplVers
object wraps a DOM element that is the base type, then the
xsi:type of the base element is promoted. Otherwise,
it is left unchanged.
This function also emits an XArchEvent with type
PROMOTE_TYPE. The source for this events is the pre-promoted
IXArchElement object (should no longer be used), and the
target is the post-promotion object. The target name is
the name of the interface class that was the target of the
promotion.
value - Object to promote.
public IMessageCausalitySpecification createMessageCausalitySpecification()
public IMessageCausalitySpecification recontextualizeMessageCausalitySpecification(IMessageCausalitySpecification value)
value - Object to recontextualize.
value object in this namespace.public IXMLLink createXMLLink()
public IXMLLink recontextualizeXMLLink(IXMLLink value)
value - Object to recontextualize.
value object in this namespace.public IGenericMessage createGenericMessage()
public IGenericMessage recontextualizeGenericMessage(IGenericMessage value)
value - Object to recontextualize.
value object in this namespace.public INamedPropertyMessage createNamedPropertyMessage()
public INamedPropertyMessage recontextualizeNamedPropertyMessage(INamedPropertyMessage value)
value - Object to recontextualize.
value object in this namespace.public INamedPropertyMessage promoteToNamedPropertyMessage(IGenericMessage value)
IGenericMessage
to one of type INamedPropertyMessage. xArch APIs
are structured in such a way that a regular cast is not possible
to change interface types, so casting must be done through these
promotion functions. If the IGenericMessage
object wraps a DOM element that is the base type, then the
xsi:type of the base element is promoted. Otherwise,
it is left unchanged.
This function also emits an XArchEvent with type
PROMOTE_TYPE. The source for this events is the pre-promoted
IXArchElement object (should no longer be used), and the
target is the post-promotion object. The target name is
the name of the interface class that was the target of the
promotion.
value - Object to promote.
public ICount createCount()
public ICount recontextualizeCount(ICount value)
value - Object to recontextualize.
value object in this namespace.public IMessageName createMessageName()
public IMessageName recontextualizeMessageName(IMessageName value)
value - Object to recontextualize.
value object in this namespace.public IMessageType createMessageType()
public IMessageType recontextualizeMessageType(IMessageType value)
value - Object to recontextualize.
value object in this namespace.public ICauseTime createCauseTime()
public ICauseTime recontextualizeCauseTime(ICauseTime value)
value - Object to recontextualize.
value object in this namespace.public INamedProperty createNamedProperty()
public INamedProperty recontextualizeNamedProperty(INamedProperty value)
value - Object to recontextualize.
value object in this namespace.public IPropertyName createPropertyName()
public IPropertyName recontextualizePropertyName(IPropertyName value)
value - Object to recontextualize.
value object in this namespace.public IPropertyValue createPropertyValue()
public IPropertyValue recontextualizePropertyValue(IPropertyValue value)
value - Object to recontextualize.
value object in this namespace.public IRuleSpecification createRuleSpecificationElement()
IRuleSpecification.
This function should be used in lieu of createRuleSpecification
if the element is to be added as a sub-object of IXArch.
public IRuleSpecification getRuleSpecification(IXArch xArch)
IXArch
element. If there are multiple matching children, this returns the first one.
xArch - IXArch object from which to get the child.
IRuleSpecification that is the child
of xArch or null if no such object exists.public Collection getAllRuleSpecifications(IXArch xArch)
IXArch element.
xArch - IXArch object from which to get the children.
IRuleSpecification that are
the children of xArch or an empty collection if no such object exists.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||