org.openmdx.security.realm1.cci2.Role Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Generated by org.openmdx.application.mof.mapping.java.InstanceMapper 2.17.7
// Generated at 2020-11-27T16:04:30.521Z
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.openmdx.security.realm1.cci2;
/**
* Class Role
*/
public interface Role
extends org.openmdx.base.cci2.BasicObject{
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute description
.
* @return The possibly null value for attribute description
.
*/
public java.lang.String getDescription(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute description
.
* @param description The possibly null new value for attribute description
.
*/
public void setDescription(
java.lang.String description
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute disabled
.
* @return The non-null value for attribute disabled
.
*/
public boolean isDisabled(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute disabled
.
* @param disabled The non-null new value for attribute disabled
.
*/
public void setDisabled(
boolean disabled
);
// ----------------------------------------------------------------------------
// 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 given value(s).
*
* This method is equivalent to
* list.clear();
* for(java.lang.String e : localizedDescription){
* list.add(e);
* }
*
* @param localizedDescription value(s) to be added to localizedDescription
*/
public void setLocalizedDescription(
java.lang.String... localizedDescription
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute name
.
*
* This attribute is usually derived from the Attribute's ObjectId.
* @return The non-null value for attribute name
.
*/
public java.lang.String getName(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute name
.
*
* This attribute is usually derived from the Attribute's ObjectId.
* @param name The non-null new value for attribute name
.
*/
public void setName(
java.lang.String name
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the reference permission
.
* @return A set containing all the elements for this reference.
*/
public org.openmdx.security.realm1.cci2.PermissionIsGrantedToRole.Permission getPermission(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference policy
.
* @return The non-null
value for this reference.
*/
public org.openmdx.security.realm1.cci2.Policy getPolicy(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute type
.
* @return The possibly null value for attribute type
.
*/
public java.lang.Short getType(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute type
.
* @param type The possibly null new value for attribute type
.
*/
public void setType(
java.lang.Short type
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
/**
* Object Identity
*/
public interface Identity extends org.oasisopen.cci2.Identity {
/**
* Retrieve the Policy
's identity
* @return the parent object's identity
*/
public org.oasisopen.cci2.Identity getPolicy();
/**
* Tells whether the name
value is persistent or reassignable.
* @return PERSISTENT
or REASSIGNABLE
*/
public org.oasisopen.cci2.QualifierType getNameType();
/**
* The name
value
* @return the name
value
*/
public java.lang.String getName();
}
}