All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmdx.security.authorization1.jmi1.Segment Maven / Gradle / Ivy

There is a newer version: 2.18.10
Show newest version
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Generated by org.openmdx.application.mof.mapping.java.InstanceMapper 2.17.7
// Generated at 2020-11-27T16:04:30.567Z
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.openmdx.security.authorization1.jmi1;

/**
 * Class Segment
 */
public interface Segment
  extends org.openmdx.security.authorization1.cci2.Segment,
    org.openmdx.base.jmi1.Segment{

// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
  /**
   * Retrieves the value for the reference policy 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 getPolicy( org.openmdx.security.authorization1.cci2.PolicyQuery query ); // ---------------------------------------------------------------------------- // Instance/IntfReferenceGet0_1WithQualifier // ---------------------------------------------------------------------------- /** * Retrieves the value for the reference policy 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.authorization1.jmi1.Policy getPolicy( boolean idIsPersistent, java.lang.String id ); /** * Retrieves the value for the reference policy for the specified qualifier attribute value. *

* This method is equivalent to the preferred invocation getPolicy(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.authorization1.jmi1.Policy getPolicy( java.lang.String id ); // ---------------------------------------------------------------------------- // Instance/ReferenceAddWithQualifier // ---------------------------------------------------------------------------- /** * Adds the specified element to the set of the values for the reference policy. *

* 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 policy The element to be appended. */ public void addPolicy ( boolean idIsPersistent, java.lang.String id, org.openmdx.security.authorization1.jmi1.Policy policy ); /** * Adds the specified element to the set of the values for the reference policy 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 policy The element to be appended. */ public void addPolicy ( java.lang.String id, org.openmdx.security.authorization1.jmi1.Policy policy ); /** * Adds the specified element to the set of the values for the reference policy using an implementation-specific, reassignable qualifier. *

* Note: This is an extension to the JMI 1 standard. * @param policy The element to be appended. */ public void addPolicy ( org.openmdx.security.authorization1.jmi1.Policy policy ); // ---------------------------------------------------------------------------- // Instance/End // ---------------------------------------------------------------------------- }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy