org.openmdx.role2.jmi1.RoleCapable Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Name: $Id: AbstractMapper.java,v 1.10 2011/07/08 13:20:51 wfro Exp $
// Generated by: openMDX Java Mapper
// Date: Mon Mar 09 17:04:35 CET 2020
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.openmdx.role2.jmi1;
/**
* Abstract class RoleCapable
*
* isFrozen
*/
public interface RoleCapable
extends org.openmdx.role2.cci2.RoleCapable,
org.openmdx.base.jmi1.AspectCapable{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference role
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 getRole(
org.openmdx.role2.cci2.RoleQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference role
for the specified qualifier attribute value.
*
* @param roleNameIsPersistent Defines whether value for the qualifier is persistent or not
* @param roleName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.role2.jmi1.Role getRole(
boolean roleNameIsPersistent,
java.lang.String roleName
);
/**
* Retrieves the value for the reference role
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getRole(false,roleName)
.
*
* @param roleName The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.role2.jmi1.Role getRole(
java.lang.String roleName
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}