org.omg.model1.jmi1.Namespace Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Generated by org.openmdx.application.mof.mapping.java.InstanceMapper 2.17.7
// Generated at 2020-11-27T16:04:08.681Z
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.omg.model1.jmi1;
/**
* Abstract class Namespace
*
* The Namespace Class classifies and characterizes Elements that can contain other Elements. Along with containing the Elements, a Namespace defines a namespace, the allowable set of names and the naming constraints, for these elements.
* Subclasses of the Namespace Class have mechanisms for effectively extending their namespace, without actually containing additional Elements. Thus Namespace can be viewed in terms of its two roles, as a container and as a namespace mechanism. Because only subclasses extend the namespace, the namespace and contents are coincident in the definition of the Namespace Class. Each Namespace has four collections (the latter three derivable) that are used in the MOF Model?s Constraints. These collections are:
*
* - The contents (also called the direct contents), which are defined by the contents
* reference.
* - All contents, the transitive closure on the contents reference.
* - The extended namespace (the contents plus elements included by extension), which
* Namespace subclasses accomplish through generalization and importation.
* - The extended contents (the transitive closure on the contents reference applied to
* the extended namespace).
*
* isFrozenisFrozenisFrozen
*/
public interface Namespace
extends org.omg.model1.cci2.Namespace,
org.omg.model1.jmi1.Element{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference allNamespaceContent
for the specified query.
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with javax.jdo.Query
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to true
.
*/
public java.util.List getAllNamespaceContent(
org.omg.model1.cci2.ElementQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference allNamespaceContent
for the specified qualifier attribute value.
*
* @param qualifiedNameIsPersistent Defines whether value for the qualifier is persistent or not
* @param qualifiedName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.omg.model1.jmi1.Element getAllNamespaceContent(
boolean qualifiedNameIsPersistent,
java.lang.String qualifiedName
);
/**
* Retrieves the value for the reference allNamespaceContent
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getAllNamespaceContent(false,qualifiedName)
.
*
* @param qualifiedName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.omg.model1.jmi1.Element getAllNamespaceContent(
java.lang.String qualifiedName
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference namespaceContent
for the specified query.
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with javax.jdo.Query
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to true
.
*/
public java.util.List getNamespaceContent(
org.omg.model1.cci2.ElementQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference namespaceContent
for the specified qualifier attribute value.
*
* @param qualifiedNameIsPersistent Defines whether value for the qualifier is persistent or not
* @param qualifiedName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.omg.model1.jmi1.Element getNamespaceContent(
boolean qualifiedNameIsPersistent,
java.lang.String qualifiedName
);
/**
* Retrieves the value for the reference namespaceContent
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getNamespaceContent(false,qualifiedName)
.
*
* @param qualifiedName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.omg.model1.jmi1.Element getNamespaceContent(
java.lang.String qualifiedName
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}