org.omg.model1.cci2.GeneralizableElement Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Generated by org.openmdx.application.mof.mapping.java.InstanceMapper 2.17.7
// Generated at 2020-11-27T16:04:08.521Z
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.omg.model1.cci2;
/**
* Abstract class GeneralizableElement
*
* The GeneralizableElement Class classifies and characterizes Elements that can be generalized through supertyping and specialized through subtyping. A GeneralizableElement inherits the features of each of its supertypes, the features of the supertypes of the immediate supertypes, and so on (in other words all the features of the transitive closure of all the supertypes of the GeneralizableElement).
*
* When a GeneralizableElement inherits a feature, that feature name effectively becomes part of the namespace for the GeneralizableElement and the feature is considered part of the extended namespace of the Namespace. Therefore, a GeneralizableElement cannot have a superclass if it causes an inherited feature to have a namespace collision with its own features [The names of the contents of a GeneralizableElement should not collide with the names of the contents of any direct or indirect supertype.].
*
* To the degree that a GeneralizableElement is defined by its features, the superclass/subclass association defines substitutability. Any instance of a GeneralizableElement can be supplied wherever an instance of a superclass of that GeneralizableElement is expected.
* isFrozenisFrozenisFrozenisFrozen
*/
public interface GeneralizableElement
extends org.omg.model1.cci2.Namespace{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the Collection
of objects referenced by allSubtype
.
* @return The Collection
of referenced objects.
*/
public java.util.Set getAllSubtype(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the Collection
of objects referenced by allSupertype
.
* @return The Collection
of referenced objects.
*/
public java.util.Set getAllSupertype(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the Collection
of objects referenced by feature
.
* @return The Collection
of referenced objects.
*/
public java.util.Set getFeature(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute isAbstract
.
*
* Indicates whether the GeneralizableElement is expected to have instances. When isAbstract is true, any instance that is represented or classified by this GeneralizableElement is additionally an instance of some specialization of this GeneralizableElement. No operation that supports creation of instances of this GeneralizableElement should be available.
* @return The non-null value for attribute isAbstract
.
*/
public boolean isAbstract(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute isAbstract
.
*
* Indicates whether the GeneralizableElement is expected to have instances. When isAbstract is true, any instance that is represented or classified by this GeneralizableElement is additionally an instance of some specialization of this GeneralizableElement. No operation that supports creation of instances of this GeneralizableElement should be available.
* @param isAbstract The non-null new value for attribute isAbstract
.
*/
public void setAbstract(
boolean isAbstract
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the Collection
of objects referenced by subtype
.
* @return The Collection
of referenced objects.
*/
public java.util.Set getSubtype(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the Collection
of objects referenced by supertype
.
* @return The Collection
of referenced objects.
*/
public java.util.Set getSupertype(
);
// ----------------------------------------------------------------------------
// 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 GeneralizableElement?s container to depend on it. The rules of visibility of MOF Elements are not currently specified.
* @return The non-null value for attribute visibility
.
*/
public java.lang.String getVisibility(
);
// ----------------------------------------------------------------------------
// 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 GeneralizableElement?s container to depend on 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
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}