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

org.omg.model1.jpa3.Reference 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 Reference
 *

* A Reference defines a Classifier's knowledge of, and access to, links and their instances defined by an Association. Although a Reference derives much of its state from a corresponding AssociationEnd, it provides additional information; therefore, the MOF cannot adequately represent some meta-models without this mechanism. The inherited attributes defined in StructuralFeature (multiplicity and isChangeable) are constrained to match the values of its corresponding AssociationEnd. However, it has its own visibility, name, and annotation defined. *

*

Note
* When creating a Reference, values for the inherited attributes of multiplicity and isChangeable must be supplied. These must be the same as the corresponding attributes on the AssociationEnd to which the Reference will subsequently be linked. * */ @SuppressWarnings("serial") public class Reference extends org.omg.model1.jpa3.Element implements org.omg.model1.cci2.Reference { /** * Constructor */ public Reference( ){ // Implements Serializable } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute multiplicity. */ java.lang.String multiplicity; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute multiplicity. *

* Multiplicity defines constraints on the collection of instances or values that a StructuralFeature can hold. Multiplicity defines a lower and upper bound to the cardinality of the collection, although the upper bound can be specified as Unbounded. * @return The non-null value for attribute multiplicity. */ public final java.lang.String getMultiplicity( ){ return this.multiplicity; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute multiplicity. *

* Multiplicity defines constraints on the collection of instances or values that a StructuralFeature can hold. Multiplicity defines a lower and upper bound to the cardinality of the collection, although the upper bound can be specified as Unbounded. * @param multiplicity The non-null new value for attribute multiplicity. */ public void setMultiplicity( java.lang.String multiplicity ){ super.openmdxjdoMakeDirty(); this.multiplicity = multiplicity; } // ---------------------------------------------------------------------------- // Instance/DeclareValue // ---------------------------------------------------------------------------- /** * Attribute referencedEndIsNavigable. */ public boolean referencedEndIsNavigable; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute referencedEndIsNavigable. * @return The non-null value for attribute referencedEndIsNavigable. */ public final boolean isReferencedEndIsNavigable( ){ return this.referencedEndIsNavigable; } // ---------------------------------------------------------------------------- // 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 isChangeable. */ boolean isChangeable; // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute isChangeable. *

* The isChangeable attribute places restrictions on the use of certain operations, which could change the set of values or instances of the StructuralFeature, and on the operations that will get generated in IDL or other language generation. For any elaboration, no means are automatically created which provides a means of altering the attribute value. When IDL is generated, for instance, the operations, * which are normally generated for changing the StructuralFeature, will not be generated. However, isChangeable does not actually constrain the StructuralFeature to make it immutable. Any operations explicitly defined in a model may change the StructuralFeature values or instances (assuming the operation would have otherwise been able to do so). * * @return The non-null value for attribute isChangeable. */ public final boolean isChangeable( ){ return this.isChangeable; } // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute isChangeable. *

* The isChangeable attribute places restrictions on the use of certain operations, which could change the set of values or instances of the StructuralFeature, and on the operations that will get generated in IDL or other language generation. For any elaboration, no means are automatically created which provides a means of altering the attribute value. When IDL is generated, for instance, the operations, * which are normally generated for changing the StructuralFeature, will not be generated. However, isChangeable does not actually constrain the StructuralFeature to make it immutable. Any operations explicitly defined in a model may change the StructuralFeature values or instances (assuming the operation would have otherwise been able to do so). * * @param isChangeable The non-null new value for attribute isChangeable. */ public void setChangeable( boolean isChangeable ){ super.openmdxjdoMakeDirty(); this.isChangeable = isChangeable; } // ---------------------------------------------------------------------------- // Instance/ReferenceDeclaration // ---------------------------------------------------------------------------- /** * Instance referenced by type. */ java.lang.String type; // ---------------------------------------------------------------------------- // Instance/ReferenceGetx_1NoQualifier // ---------------------------------------------------------------------------- /** * Retrieves the value for the reference type. * @return The non-null value for this reference. */ public org.omg.model1.cci2.Classifier getType( ) { throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use getType_Id()."), this ); } public java.lang.String getType_Id( ) { return this.type; } // ---------------------------------------------------------------------------- // Instance/ReferenceSetNoQualifier // ---------------------------------------------------------------------------- /** * Sets a new value for the reference type. * @param type The new non-null value for this reference. */ public void setType( org.omg.model1.cci2.Classifier type ){ throw new javax.jdo.JDOFatalUserException( "Typed set not handled by data object", new UnsupportedOperationException("Use setType_Id() instead."), this ); } public void setType_Id( java.lang.String type ) { super.openmdxjdoMakeDirty(); this.type = type; } // ---------------------------------------------------------------------------- // Instance/ReferenceDeclaration // ---------------------------------------------------------------------------- /** * Instance referenced by referencedEnd. */ java.lang.String referencedEnd; // ---------------------------------------------------------------------------- // Instance/ReferenceGetx_1NoQualifier // ---------------------------------------------------------------------------- /** * Retrieves the value for the reference referencedEnd. * @return The non-null value for this reference. */ public org.omg.model1.cci2.AssociationEnd getReferencedEnd( ) { throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use getReferencedEnd_Id()."), this ); } public java.lang.String getReferencedEnd_Id( ) { return this.referencedEnd; } // ---------------------------------------------------------------------------- // Instance/ReferenceSetNoQualifier // ---------------------------------------------------------------------------- /** * Sets a new value for the reference referencedEnd. * @param referencedEnd The new non-null value for this reference. */ public void setReferencedEnd( org.omg.model1.cci2.AssociationEnd referencedEnd ){ throw new javax.jdo.JDOFatalUserException( "Typed set not handled by data object", new UnsupportedOperationException("Use setReferencedEnd_Id() instead."), this ); } public void setReferencedEnd_Id( java.lang.String referencedEnd ) { super.openmdxjdoMakeDirty(); this.referencedEnd = referencedEnd; } // ---------------------------------------------------------------------------- // 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/ReferenceDeclaration // ---------------------------------------------------------------------------- /** * Instance referenced by exposedEnd. */ java.lang.String exposedEnd; // ---------------------------------------------------------------------------- // Instance/ReferenceGetx_1NoQualifier // ---------------------------------------------------------------------------- /** * Retrieves the value for the reference exposedEnd. * @return The non-null value for this reference. */ public org.omg.model1.cci2.AssociationEnd getExposedEnd( ) { throw new javax.jdo.JDOFatalUserException( "This signature is not handled by data object", new UnsupportedOperationException("This signature is not handled by data object. Use getExposedEnd_Id()."), this ); } public java.lang.String getExposedEnd_Id( ) { return this.exposedEnd; } // ---------------------------------------------------------------------------- // Instance/ReferenceSetNoQualifier // ---------------------------------------------------------------------------- /** * Sets a new value for the reference exposedEnd. * @param exposedEnd The new non-null value for this reference. */ public void setExposedEnd( org.omg.model1.cci2.AssociationEnd exposedEnd ){ throw new javax.jdo.JDOFatalUserException( "Typed set not handled by data object", new UnsupportedOperationException("Use setExposedEnd_Id() instead."), this ); } public void setExposedEnd_Id( java.lang.String exposedEnd ) { super.openmdxjdoMakeDirty(); this.exposedEnd = exposedEnd; } // ---------------------------------------------------------------------------- // Instance/End // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // 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 - 2024 Weber Informatics LLC | Privacy Policy