org.opencrx.kernel.model1.jmi1.Namespace Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.model1.jmi1;
/**
* Abstract class {@code 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 Models 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).
*
* isFrozen
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:37.680043688Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Namespace
extends org.opencrx.kernel.model1.cci2.Namespace,
org.opencrx.kernel.model1.jmi1.Element{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code content} 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 {@code javax.jdo.Query}
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to {@code true}.
*/
public java.util.List getContent(
org.opencrx.kernel.model1.cci2.ElementQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code content} 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.opencrx.kernel.model1.jmi1.Element getContent(
boolean qualifiedNameIsPersistent,
java.lang.String qualifiedName
);
/**
* Retrieves the value for the reference {@code content} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContent(false,qualifiedName)}.
*
* @param qualifiedName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.model1.jmi1.Element getContent(
java.lang.String qualifiedName
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.jmi1.Void deleteNamespace(
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}