org.opencrx.kernel.code1.cci2.ObjectValidator Maven / Gradle / Ivy
The newest version!
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.code1.cci2;
/**
* Class {@code ObjectValidator}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:35.154663094Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface ObjectValidator
extends org.opencrx.kernel.base.cci2.SecureObject,
org.opencrx.kernel.base.cci2.UserDefined,
org.opencrx.kernel.generic.cci2.LocalizedFieldContainer,
org.openmdx.base.cci2.BasicObject{
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code anchor}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.openmdx.base.cci2.ContextCapable getAnchor(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code anchor}.
* @param anchor The new—possibly {@code null}—value for this reference.
*/
public void setAnchor(
org.openmdx.base.cci2.ContextCapable anchor
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the reference {@code condition}.
* @return A set containing all the elements for this reference.
*/
public org.opencrx.kernel.code1.cci2.ObjectValidatorContainsValidatorCondition.Condition getCondition(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code description}.
* @return The possibly null value for attribute {@code description}.
*/
public java.lang.String getDescription(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code description}.
* @param description The possibly null new value for attribute {@code description}.
*/
public void setDescription(
java.lang.String description
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code disabled}.
* @return The possibly null value for attribute {@code disabled}.
*/
public java.lang.Boolean isDisabled(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code disabled}.
* @param disabled The possibly null new value for attribute {@code disabled}.
*/
public void setDisabled(
java.lang.Boolean disabled
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code mainCondition}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.code1.cci2.ValidatorCondition getMainCondition(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code mainCondition}.
* @param mainCondition The new—possibly {@code null}—value for this reference.
*/
public void setMainCondition(
org.opencrx.kernel.code1.cci2.ValidatorCondition mainCondition
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code name}.
* @return The non-null value for attribute {@code name}.
*/
public java.lang.String getName(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code name}.
* @param name The non-{@code null} new value for attribute {@code name}.
*/
public void setName(
java.lang.String name
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
/**
* Retrieves a list containing all the elements for the attribute {@code objectType}.
* @return A list containing all elements for this attribute.
*/
public java.util.List getObjectType(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
/**
* Clears {@code objectType} and adds the given value(s).
*
* This method is equivalent to
* list.clear();
* for(java.lang.String e : objectType){
* list.add(e);
* }
*
* @param objectType value(s) to be added to {@code objectType}
*/
public void setObjectType(
java.lang.String... objectType
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.code1.cci2.ValidateObjectResult validateObject(
org.opencrx.kernel.code1.cci2.ValidateObjectParams in
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
/**
* Object Identity
*/
public interface Identity extends org.oasisopen.cci2.Identity {
/**
* Retrieve the {@code Segment}'s identity
* @return the parent object's identity
*/
public org.openmdx.base.cci2.Segment.Identity getSegment();
/**
* Tells whether the {@code id} value is persistent or reassignable.
* @return {@code PERSISTENT} or {@code REASSIGNABLE}
*/
public org.oasisopen.cci2.QualifierType getIdType();
/**
* The {@code id} value
* @return the {@code id} value
*/
public java.lang.String getId();
}
}