org.openmdx.security.realm1.jmi1.Role 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:05:03 CET 2020
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.openmdx.security.realm1.jmi1;
/**
* Class Role
*/
public interface Role
extends org.openmdx.security.realm1.cci2.Role,
org.openmdx.base.jmi1.BasicObject{
// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
/**
* Retrieves a list containing all the elements for the attribute localizedDescription
.
* @return A list containing all elements for this attribute.
*/
public java.util.List getLocalizedDescription(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
/**
* Clears localizedDescription
and adds the members of the given List.
*
* This method is equivalent to
* list.clear();
* list.addAll(localizedDescription);
*
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.
* @param localizedDescription collection to be copied.
*/
public void setLocalizedDescription(
java.util.List localizedDescription
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference permission
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 getPermission(
org.openmdx.security.realm1.cci2.PermissionQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference permission
for the specified qualifier attribute value.
*
* @param idIsPersistent Defines whether value for the qualifier is persistent or not
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.security.realm1.jmi1.Permission getPermission(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference permission
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getPermission(false,id)
.
*
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.security.realm1.jmi1.Permission getPermission(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference permission
.
*
* Note: This is an extension to the JMI 1 standard.
* @param idIsPersistent true
if id
is persistent
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param permission The element to be appended.
*/
public void addPermission (
boolean idIsPersistent,
java.lang.String id,
org.openmdx.security.realm1.jmi1.Permission permission
);
/**
* Adds the specified element to the set of the values for the reference permission
using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param permission The element to be appended.
*/
public void addPermission (
java.lang.String id,
org.openmdx.security.realm1.jmi1.Permission permission
);
/**
* Adds the specified element to the set of the values for the reference permission
using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param permission The element to be appended.
*/
public void addPermission (
org.openmdx.security.realm1.jmi1.Permission permission
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference policy
.
* @return The non-null
value for this reference.
*/
public org.openmdx.security.realm1.jmi1.Policy getPolicy(
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
}