All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.model1.jpa3.Operation Maven / Gradle / Ivy

There is a newer version: 2.18.10
Show newest version
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Name: $Id: AbstractMapper.java,v 1.10 2011/07/08 13:20:51 wfro Exp $
// Generated by: openMDX Java Mapper
// Date: Mon Mar 09 17:04:35 CET 2020
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.omg.model1.jpa3;

/**
 * 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. */ @SuppressWarnings("serial") public class Operation extends org.omg.model1.jpa3.Element implements org.omg.model1.cci2.Operation { /** * Constructor */ public Operation( ){ // Implements Serializable } // ---------------------------------------------------------------------------- // Instance/ReferenceGet0_nNoQuery // ---------------------------------------------------------------------------- /** * Retrieves the Collection of objects referenced by exception. * @return The Collection of referenced objects. */ public java.util.Set getException( ){ throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use getException_Id()."), this ); } public java.util.Set getException_Id( ){ java.util.SortedMap slices = openmdxjdoGetSlices(); return new org.w3c.jpa3.AbstractObject.SlicedSet(slices) { @Override protected java.lang.String getValue(Operation$Slice slice) { return slice.getException(); } @Override protected void setValue(Operation$Slice slice, java.lang.String value) { openmdxjdoMakeDirty(); slice.setException(value); } @Override protected Operation$Slice newSlice(int index) { return new Operation$Slice(Operation.this, index); } @Override protected void setSize(int size) { openmdxjdoMakeDirty(); exception_size = size; } @Override public int size() { return exception_size; } }; } // ---------------------------------------------------------------------------- // Instance/ReferenceDeclaration // ---------------------------------------------------------------------------- /** * Reference namespaceContent. */ @SuppressWarnings("unused") private transient java.util.Set namespaceContent; // ---------------------------------------------------------------------------- // Instance/ReferenceGet0_nWithQuery // ---------------------------------------------------------------------------- /** * Retrieves a set containing all the elements for the reference namespaceContent. * @return A set containing all the elements for this reference. */ public org.omg.model1.cci2.NamespaceContainsElement.NamespaceContent getNamespaceContent( ){ throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use query on member 'namespaceContent'."), this ); } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute visibility. */ java.lang.String visibility; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute 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. * @return The non-null value for attribute visibility. */ public final java.lang.String getVisibility( ){ return this.visibility; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute 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. * @param visibility The non-null new value for attribute visibility. */ public void setVisibility( java.lang.String visibility ){ super.openmdxjdoMakeDirty(); this.visibility = visibility; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute isQuery. */ boolean isQuery; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute 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. * * @return The non-null value for attribute isQuery. */ public final boolean isQuery( ){ return this.isQuery; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute 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. * * @param isQuery The non-null new value for attribute isQuery. */ public void setQuery( boolean isQuery ){ super.openmdxjdoMakeDirty(); this.isQuery = isQuery; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute semantics. */ java.lang.String semantics; // ---------------------------------------------------------------------------- // Instance/AttributeGet0_1 // ---------------------------------------------------------------------------- /** * Retrieves the possibly null value for the optional attribute semantics. * @return The possibly null value for attribute semantics. */ public final java.lang.String getSemantics( ){ return this.semantics; } // ---------------------------------------------------------------------------- // Instance/AttributeSet0_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute semantics. * @param semantics The possibly null new value for attribute semantics. */ public void setSemantics( java.lang.String semantics ){ super.openmdxjdoMakeDirty(); this.semantics = semantics; } // ---------------------------------------------------------------------------- // Instance/ReferenceGet0_nNoQuery // ---------------------------------------------------------------------------- /** * Retrieves the Collection of objects referenced by content. * @return The Collection of referenced objects. */ public java.util.Set getContent( ){ throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use getContent_Id()."), this ); } public java.util.Set getContent_Id( ){ java.util.SortedMap slices = openmdxjdoGetSlices(); return new org.w3c.jpa3.AbstractObject.SlicedSet(slices) { @Override protected java.lang.String getValue(Operation$Slice slice) { return slice.getContent(); } @Override protected void setValue(Operation$Slice slice, java.lang.String value) { openmdxjdoMakeDirty(); slice.setContent(value); } @Override protected Operation$Slice newSlice(int index) { return new Operation$Slice(Operation.this, index); } @Override protected void setSize(int size) { openmdxjdoMakeDirty(); content_size = size; } @Override public int size() { return content_size; } }; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute scope. */ java.lang.String scope; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute 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. * * @return The non-null value for attribute scope. */ public final java.lang.String getScope( ){ return this.scope; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute 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. * * @param scope The non-null new value for attribute scope. */ public void setScope( java.lang.String scope ){ super.openmdxjdoMakeDirty(); this.scope = scope; } // ---------------------------------------------------------------------------- // Instance/ReferenceGet0_nNoQuery // ---------------------------------------------------------------------------- /** * Retrieves the Collection of objects referenced by parameter. * @return The Collection of referenced objects. */ public java.util.List getParameter( ){ throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use getParameter_Id()."), this ); } public java.util.List getParameter_Id( ){ java.util.SortedMap slices = openmdxjdoGetSlices(); return new org.w3c.jpa3.AbstractObject.SlicedList(slices) { @Override protected java.lang.String getValue(Operation$Slice slice) { return slice.getParameter(); } @Override protected void setValue(Operation$Slice slice, java.lang.String value) { openmdxjdoMakeDirty(); slice.setParameter(value); } @Override protected Operation$Slice newSlice(int index) { return new Operation$Slice(Operation.this, index); } @Override protected void setSize(int size) { openmdxjdoMakeDirty(); parameter_size = size; } @Override public int size() { return parameter_size; } }; } // ---------------------------------------------------------------------------- // Instance/ReferenceDeclaration // ---------------------------------------------------------------------------- /** * Reference allNamespaceContent. */ @SuppressWarnings("unused") private transient java.util.Set allNamespaceContent; // ---------------------------------------------------------------------------- // Instance/ReferenceGet0_nWithQuery // ---------------------------------------------------------------------------- /** * Retrieves a set containing all the elements for the reference allNamespaceContent. * @return A set containing all the elements for this reference. */ public org.omg.model1.cci2.NamespaceContainsAllElement.AllNamespaceContent getAllNamespaceContent( ){ throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use query on member 'allNamespaceContent'."), this ); } // ---------------------------------------------------------------------------- // Instance/End // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // Instance/DeclareSize // ---------------------------------------------------------------------------- /** * Number of elements of attribute exception */ int exception_size; // ---------------------------------------------------------------------------- // Instance/DeclareSize // ---------------------------------------------------------------------------- /** * Number of elements of attribute content */ int content_size; // ---------------------------------------------------------------------------- // Instance/DeclareSize // ---------------------------------------------------------------------------- /** * Number of elements of attribute parameter */ int parameter_size; // ---------------------------------------------------------------------------- // Instance/Begin // ---------------------------------------------------------------------------- ////////////////////////////////////////////////////////////////////////////// // // Name: $Id: AbstractMapper.java,v 1.10 2011/07/08 13:20:51 wfro Exp $ // Generated by: openMDX Java Mapper // Date: Mon Mar 09 17:04:35 CET 2020 // // GENERATED - DO NOT CHANGE MANUALLY // ////////////////////////////////////////////////////////////////////////////// }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy