Class BitolContextConstraint
java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.common.BitolContextConstraint
This class represents negative guidance for AI agents in the AI context of a data contract, schema object, data product or output port: something that must not be done with the element (RFC 0038).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return links to the sources behind this constraint.Return the constraint text.Return the custom properties of this constraint.getId()Return the stable identifier of the constraint.getTags()Return the tags attached to this constraint.inthashCode()Return hash code based on properties.voidsetAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up links to the sources behind this constraint.voidsetConstraint(String constraint) Set up the constraint text.voidsetCustomProperties(List<BitolCustomProperty> customProperties) Set up the custom properties of this constraint.voidSet up the stable identifier of the constraint.voidSet up the tags attached to this constraint.toString()Standard toString method.
-
Constructor Details
-
BitolContextConstraint
public BitolContextConstraint()Default constructor
-
-
Method Details
-
getId
Return the stable identifier of the constraint.- Returns:
- String
-
setId
Set up the stable identifier of the constraint.- Parameters:
id- String
-
getConstraint
Return the constraint text.- Returns:
- String
-
setConstraint
Set up the constraint text.- Parameters:
constraint- String
-
getAuthoritativeDefinitions
Return links to the sources behind this constraint.- Returns:
- List
-
setAuthoritativeDefinitions
public void setAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up links to the sources behind this constraint.- Parameters:
authoritativeDefinitions- List
-
getTags
Return the tags attached to this constraint.- Returns:
- List
-
setTags
Set up the tags attached to this constraint.- Parameters:
tags- List
-
getCustomProperties
Return the custom properties of this constraint.- Returns:
- List
-
setCustomProperties
Set up the custom properties of this constraint.- Parameters:
customProperties- List
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-