|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.w3c.jpa3.AbstractObject
org.opencrx.kernel.model1.jpa3.Element
org.opencrx.kernel.model1.jpa3.Operation
public class Operation
Class Operation
An Operation defines a dynamic feature which offers a service. The behavior of an operation is activated through the invocation of the operation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject |
|---|
org.w3c.jpa3.AbstractObject.AbstractStateAccessor, org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.ObjectState, org.w3c.jpa3.AbstractObject.SlicedList<E,S>, org.w3c.jpa3.AbstractObject.SlicedMap<E,S>, org.w3c.jpa3.AbstractObject.SlicedSet<E,S> |
| Nested classes/interfaces inherited from interface org.opencrx.kernel.model1.cci2.Element |
|---|
Element.Identity |
| Field Summary | |
|---|---|
String |
signature
Attribute signature. |
| Fields inherited from class org.opencrx.kernel.model1.jpa3.Element |
|---|
createdAt, identity, modifiedAt |
| Constructor Summary | |
|---|---|
Operation()
Constructor |
|
| Method Summary | ||
|---|---|---|
Void |
deleteNamespace()
|
|
|
getContent()
Retrieves a set containing all the elements for the reference content. |
|
List<String> |
getException_Id()
|
|
|
getException()
Retrieves the Collection of objects referenced by exception. |
|
short |
getScope()
Retrieves the value for the attribute scope. |
|
String |
getSemantics()
Retrieves the possibly null value for the optional attribute semantics. |
|
String |
getSignature()
Retrieves the value for the attribute signature. |
|
short |
getVisibility()
Retrieves the value for the attribute visibility. |
|
boolean |
isQuery()
Retrieves the value for the attribute isQuery. |
|
void |
setQuery(boolean isQuery)
Sets a new value for the attribute isQuery. |
|
void |
setScope(short scope)
Sets a new value for the attribute scope. |
|
void |
setSemantics(String semantics)
Sets a new value for the attribute semantics. |
|
void |
setVisibility(short visibility)
Sets a new value for the attribute visibility. |
|
| Methods inherited from class org.w3c.jpa3.AbstractObject |
|---|
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opencrx.kernel.model1.cci2.Element |
|---|
getAnnotation, getContainer, getElementOrder, getName, getQualifiedName, getSegment, getStereotype, setAnnotation, setContainer, setElementOrder, setName, setQualifiedName, setStereotype |
| Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender |
|---|
sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
|---|
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
|---|
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter |
|---|
exportItem, exportItemAdvanced |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Importer |
|---|
importItem |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed |
|---|
getIndexEntry, updateIndex |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser |
| Methods inherited from interface org.openmdx.base.cci2.ContextCapable |
|---|
getContext |
| Methods inherited from interface org.openmdx.base.cci2.Creatable |
|---|
getCreatedAt, getCreatedBy |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.base.cci2.Modifiable |
|---|
getModifiedAt, getModifiedBy |
| Field Detail |
|---|
public String signature
signature.
| Constructor Detail |
|---|
public Operation()
| Method Detail |
|---|
public short getVisibility()
visibility.
In the future, this Attribute will be used to limit the ability of Elements outside of this Feature?s container to make use of it. The rules of visibility of MOF Elements are not currently specified.
getVisibility in interface Featurevisibility.public void setVisibility(short visibility)
visibility.
In the future, this Attribute will be used to limit the ability of Elements outside of this Feature?s container to make use of it. The rules of visibility of MOF Elements are not currently specified.
setVisibility in interface Featurevisibility - The non-null new value for attribute visibility.public <T extends Exception> List<T> getException()
Collection of objects referenced by exception.
getException in interface OperationCollection of referenced objects.public List<String> getException_Id()
public Void deleteNamespace()
deleteNamespace in interface Namespacepublic final String getSemantics()
semantics.
getSemantics in interface Operationsemantics.public void setSemantics(String semantics)
semantics.
setSemantics in interface Operationsemantics - The possibly null new value for attribute semantics.public String getSignature()
signature.
getSignature in interface Operationsignature.public <T extends Element> NamespaceContainsElement.Content<T> getContent()
content.
getContent in interface Namespacepublic short getScope()
scope.
The scope defines whether a Feature supports the definition of instances of the Classifier owning the Feature or of the Classifier as a whole. When scope is instanceLevel, the Feature is accessed through instances of the Feature's owning Classifier; when scope is classifier, the Feature is accessed through the Classifier itself (or through its instances). For StructuralFeatures, a scope of instanceLevel indicates that a value represented by the StructuralFeature is associated with each instance of the Classifier; a scope of classifierLevel indicates that the StructuralFeature value is shared by the Classifier and all its instances.
getScope in interface Featurescope.public void setScope(short scope)
scope.
The scope defines whether a Feature supports the definition of instances of the Classifier owning the Feature or of the Classifier as a whole. When scope is instanceLevel, the Feature is accessed through instances of the Feature's owning Classifier; when scope is classifier, the Feature is accessed through the Classifier itself (or through its instances). For StructuralFeatures, a scope of instanceLevel indicates that a value represented by the StructuralFeature is associated with each instance of the Classifier; a scope of classifierLevel indicates that the StructuralFeature value is shared by the Classifier and all its instances.
setScope in interface Featurescope - The non-null new value for attribute scope.public boolean isQuery()
isQuery.
Defining an Operation with an isQuery value of true denotes that the behavior of the operation will not alter the state of the object. The state of a Classifier, for this definition, is the set of values of all of the Classifier's class-scope and instance-scope StructuralFeatures.
For instance, an Operation of a Class, defined with a scope of instance, will not change the values or instances of any instance-scope StructuralFeature of the Class instance, as a result of invoking this Operation. An Operation of a Class with a scope of classifier will not change the values or instances of any of the classifier-scope StructuralFeatures or instance-scope StructuralFeatures.
This attribute does not define a constraint enforced by the model, but rather a promise that the operation's implementation is expected to uphold. An operation which is not defined as isQuery equals false is not guaranteed to change the state of its object. The isQuery constraint does not proscribe any specific implementation, so long as the definition of isQuery above is observed.
isQuery in interface OperationisQuery.public void setQuery(boolean isQuery)
isQuery.
Defining an Operation with an isQuery value of true denotes that the behavior of the operation will not alter the state of the object. The state of a Classifier, for this definition, is the set of values of all of the Classifier's class-scope and instance-scope StructuralFeatures.
For instance, an Operation of a Class, defined with a scope of instance, will not change the values or instances of any instance-scope StructuralFeature of the Class instance, as a result of invoking this Operation. An Operation of a Class with a scope of classifier will not change the values or instances of any of the classifier-scope StructuralFeatures or instance-scope StructuralFeatures.
This attribute does not define a constraint enforced by the model, but rather a promise that the operation's implementation is expected to uphold. An operation which is not defined as isQuery equals false is not guaranteed to change the state of its object. The isQuery constraint does not proscribe any specific implementation, so long as the definition of isQuery above is observed.
setQuery in interface OperationisQuery - The non-null new value for attribute isQuery.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||