Package com.esprow.oapi.repository
Interface OapiComponentRule
public interface OapiComponentRule
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of the rule.Returns an override for the component's presence when the expression is true.getWhen()
Returns a logic statement defining the condition when the rule applies.void
Set the name of the rule.void
setPresence
(Presence value) Set an override for the component's presence when the expression is true.void
Set a logic statement defining the condition when the rule applies.
-
Method Details
-
getWhen
String getWhen()Returns a logic statement defining the condition when the rule applies.- Returns:
- a logic statement defining the condition when the rule applies
- See Also:
-
setWhen
Set a logic statement defining the condition when the rule applies.- Parameters:
value
- the new value of the 'When' attribute.- See Also:
-
getName
String getName()Returns the name of the rule.- Returns:
- the name of the rule
- See Also:
-
setName
Set the name of the rule.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
-
getPresence
Presence getPresence()Returns an override for the component's presence when the expression is true. The literals are from the enumerationPresence
.- Returns:
- an override for the component's presence when the expression is true
- See Also:
-
setPresence
Set an override for the component's presence when the expression is true.- Parameters:
value
- the new value of the 'Presence' attribute.- See Also:
-