org.openmdx.base.jmi1.Segment Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Generated by org.openmdx.application.mof.mapping.java.InstanceMapper 2.17.7
// Generated at 2020-11-27T16:04:08.616Z
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.openmdx.base.jmi1;
/**
* Abstract class Segment
*
* isFrozen
*/
public interface Segment
extends org.openmdx.base.cci2.Segment,
org.openmdx.base.jmi1.ContextCapable{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference extent
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 getExtent(
org.openmdx.base.cci2.ExtentCapableQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference extent
for the specified qualifier attribute value.
*
* @param identityIsPersistent Defines whether value for the qualifier is persistent or not
* @param identity The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.base.jmi1.ExtentCapable getExtent(
boolean identityIsPersistent,
java.lang.String identity
);
/**
* Retrieves the value for the reference extent
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getExtent(false,identity)
.
*
* @param identity The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.base.jmi1.ExtentCapable getExtent(
java.lang.String identity
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference provider
.
* @return The non-null
value for this reference.
*/
public org.openmdx.base.jmi1.Provider getProvider(
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
}