Class RelatedContextEventProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.LabeledRelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.contextevents.RelatedContextEventProperties
RelatedContextEventProperties is a java bean used to describe a link between context events.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.intReturn the confidence level (0-100) that the mapping is correct.getNotes()Return the additional values associated with the symbolic name.Return the name of the source of knowledge that identified the relationship.intReturn the status identifier for the relationship.Returns the id of the steward responsible for the mapping.Return the name of the property that holds the steward's identifier.Return the type of element that describes the steward.inthashCode()Return hash code based on properties.voidsetConfidence(int confidence) Set up the confidence level (0-100) that the mapping is correct.voidSet up the additional values associated with the symbolic name.voidSet up the name of source of knowledge that identified the relationship.voidsetStatusIdentifier(int statusIdentifier) Set up the status identifier for the relationship.voidsetSteward(String steward) Set up the id of the steward responsible for the mapping.voidsetStewardPropertyName(String stewardPropertyName) Set up the name of the property that holds the steward's identifier.voidsetStewardTypeName(String stewardTypeName) Set up the type of element that describes the steward.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.LabeledRelationshipProperties
getDescription, getLabel, setDescription, setLabelMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
RelatedContextEventProperties
public RelatedContextEventProperties()Default constructor -
RelatedContextEventProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template- object to copy
-
-
Method Details
-
getStatusIdentifier
public int getStatusIdentifier()Return the status identifier for the relationship.- Returns:
- int
-
setStatusIdentifier
public void setStatusIdentifier(int statusIdentifier) Set up the status identifier for the relationship.- Parameters:
statusIdentifier- int
-
getSource
Return the name of the source of knowledge that identified the relationship.- Returns:
- string
-
setSource
Set up the name of source of knowledge that identified the relationship.- Parameters:
source- string
-
getConfidence
public int getConfidence()Return the confidence level (0-100) that the mapping is correct.- Returns:
- int
-
setConfidence
public void setConfidence(int confidence) Set up the confidence level (0-100) that the mapping is correct.- Parameters:
confidence- int
-
getSteward
Returns the id of the steward responsible for the mapping.- Returns:
- String id
-
setSteward
Set up the id of the steward responsible for the mapping.- Parameters:
steward- String id
-
getStewardTypeName
Return the type of element that describes the steward.- Returns:
- type name
-
setStewardTypeName
Set up the type of element that describes the steward.- Parameters:
stewardTypeName- type name
-
getStewardPropertyName
Return the name of the property that holds the steward's identifier.- Returns:
- property name
-
setStewardPropertyName
Set up the name of the property that holds the steward's identifier.- Parameters:
stewardPropertyName- property name
-
getNotes
Return the additional values associated with the symbolic name.- Returns:
- string text
-
setNotes
Set up the additional values associated with the symbolic name.- Parameters:
notes- string text
-
toString
Standard toString method.- Overrides:
toStringin classLabeledRelationshipProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classLabeledRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classLabeledRelationshipProperties- Returns:
- int
-