public interface ObjectValidator extends ObjectValidator, SecureObject, UserDefined, LocalizedFieldContainer, org.openmdx.base.jmi1.BasicObject
ObjectValidator
ObjectValidator.Identity
Modifier and Type | Method and Description |
---|---|
void |
addCondition(boolean idIsPersistent,
java.lang.String id,
ValidatorCondition condition)
Adds the specified element to the set of the values for the reference
condition . |
void |
addCondition(java.lang.String id,
ValidatorCondition condition)
Adds the specified element to the set of the values for the reference
condition using a reassignable qualifier. |
void |
addCondition(ValidatorCondition condition)
Adds the specified element to the set of the values for the reference
condition using an implementation-specific, reassignable qualifier. |
org.openmdx.base.jmi1.ContextCapable |
getAnchor()
Retrieves the value for the reference
anchor . |
ValidatorCondition |
getCondition(boolean idIsPersistent,
java.lang.String id)
Retrieves the value for the reference
condition for the specified qualifier attribute value. |
ValidatorCondition |
getCondition(java.lang.String id)
Retrieves the value for the reference
condition for the specified qualifier attribute value. |
<T extends ValidatorCondition> |
getCondition(ValidatorConditionQuery query)
Retrieves the value for the reference
condition for the specified query. |
ValidatorCondition |
getMainCondition()
Retrieves the value for the reference
mainCondition . |
java.util.List<java.lang.String> |
getObjectType()
Retrieves a list containing all the elements for the attribute
objectType . |
void |
setAnchor(org.openmdx.base.cci2.ContextCapable anchor)
Sets a new value for the reference
anchor . |
void |
setMainCondition(ValidatorCondition mainCondition)
Sets a new value for the reference
mainCondition . |
void |
setObjectType(java.util.List<java.lang.String> objectType)
Clears
objectType and adds the members of the given List. |
ValidateObjectResult |
validateObject(ValidateObjectParams in) |
getCondition, getDescription, getName, isDisabled, setDescription, setDisabled, setName, setObjectType, validateObject
addOwningGroup, assertOwningGroup, checkPermissions, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4
getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
addLocalizedField, addLocalizedField, addLocalizedField, getLocalizedField, getLocalizedField, getLocalizedField
getLocalizedField
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
org.openmdx.base.jmi1.ContextCapable getAnchor()
anchor
.getAnchor
in interface ObjectValidator
null
– value for this reference.void setAnchor(org.openmdx.base.cci2.ContextCapable anchor)
anchor
.setAnchor
in interface ObjectValidator
anchor
- The new – possibly null
– value for this reference.<T extends ValidatorCondition> java.util.List<T> getCondition(ValidatorConditionQuery query)
condition
for the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query
- predicate which is applied to the set of referenced objects.true
.ValidatorCondition getCondition(boolean idIsPersistent, java.lang.String id)
condition
for the specified qualifier attribute value.
idIsPersistent
- Defines whether value for the qualifier is persistent or notid
- The value for the qualifier attribute that qualifies this reference.ValidatorCondition getCondition(java.lang.String id)
condition
for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getCondition(false,id)
.
id
- The value for the qualifier attribute that qualifies this reference.void addCondition(boolean idIsPersistent, java.lang.String id, ValidatorCondition condition)
condition
.
Note: This is an extension to the JMI 1 standard.
idIsPersistent
- true
if id
is persistentid
- The qualifier attribute value that qualifies the reference to get the element to be appended.condition
- The element to be appended.void addCondition(java.lang.String id, ValidatorCondition condition)
condition
using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id
- The qualifier attribute value that qualifies the reference to get the element to be appended.condition
- The element to be appended.void addCondition(ValidatorCondition condition)
condition
using an implementation-specific, reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
condition
- The element to be appended.ValidatorCondition getMainCondition()
mainCondition
.getMainCondition
in interface ObjectValidator
null
– value for this reference.void setMainCondition(ValidatorCondition mainCondition)
mainCondition
.setMainCondition
in interface ObjectValidator
mainCondition
- The new – possibly null
– value for this reference.java.util.List<java.lang.String> getObjectType()
objectType
.getObjectType
in interface ObjectValidator
void setObjectType(java.util.List<java.lang.String> objectType)
objectType
and adds the members of the given List.
This method is equivalent to
list.clear(); list.addAll(objectType);Note: This is an extension to the JMI 1 standard.
objectType
- collection to be copied.ValidateObjectResult validateObject(ValidateObjectParams in)
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.