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

org.opencrx.kernel.model1.cci2.Class Maven / Gradle / Ivy

The newest version!
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.model1.cci2;

/**
 * Class {@code Class}
 *

* A Class defines a classification over a set of object instances by defining the behavior they exhibit. This behavior is represented through operations, attributes, references, participation in associations, nested classes, constants, and constraints. Although the same or similar elements are used in other environments for representing Classes and their implementations, in the MOF these elements specify the class characteristics in an implementation-independent manner. For instance, defining a Class as having an attribute does not require the implementation of the Class (the software which provides the conformant behavior) to have an attribute, to hold the attribute value, etc. The implementation simply must insure that the behavior conforms to the definition of the attribute. The use of all the additional elements beyond operations provides a much richer environment for defining Class Behavior. Likewise, this construct is not an interface. Its expressibility goes beyond interface representations. The MOF's IDL translation capabilities map a single Class onto two interfaces. It would be possible to define transformations to alternate interface presentations, such as Java's interfaces.

* There are, and probably always will be, divergent views among industry leaders on the definition of the concepts of Class, Type, and Interface. As a domain-specific modeling environment, so long as the MOF is clear about the meaning of Class within the MOF, it should remain immune from such concerns. * */ @javax.annotation.Generated( value = "org.openmdx.application.mof.mapping.java.InstanceMapper", date = "2023-10-28T12:15:35.387553423Z", comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY" ) public interface Class extends org.opencrx.kernel.model1.cci2.Classifier{ // ---------------------------------------------------------------------------- // Instance/AttributeGet1_1 // ---------------------------------------------------------------------------- /** * Retrieves the value for the attribute {@code isSingleton}. *

* When isSingleton is true, at most one M1 level instance of this Class may exist within the M1-level extent of the Class. * @return The non-null value for attribute {@code isSingleton}. */ public boolean isSingleton( ); // ---------------------------------------------------------------------------- // Instance/AttributeSet1_1 // ---------------------------------------------------------------------------- /** * Sets a new value for the attribute {@code isSingleton}. *

* When isSingleton is true, at most one M1 level instance of this Class may exist within the M1-level extent of the Class. * @param isSingleton The non-{@code null} new value for attribute {@code isSingleton}. */ public void setSingleton( boolean isSingleton ); // ---------------------------------------------------------------------------- // Instance/End // ---------------------------------------------------------------------------- }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy