Class CollectionMembershipProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.collections.CollectionMembershipProperties
CollectionMember describes a member of a collection.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.int
Return the confidence level (0-100) that the matching is correct.Return the identifier of the person/process that created this membership.Return the expression used to determine the membership.Return the rationale or role of the asset in this collection.getNotes()
Return the additional values associated with the symbolic name.Return the source of information that determined the membership.Return the status of the membership in the collection.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.Return the status of the membership in the collection.int
hashCode()
Return hash code for this objectvoid
setConfidence
(int confidence) Set up the confidence level (0-100) that the matching is correct.void
setCreatedBy
(String createdBy) Set up the identifier of the person/process that created this membership.void
setExpression
(String expression) Set up the expression used to determine the membership.void
setMembershipRationale
(String membershipRationale) Set up the rationale or role of the asset in this collection.void
Set up the additional values associated with the symbolic name.void
Set up the source of information that determined the membership.void
setStatus
(CollectionMemberStatus status) Set up the status of the membership in the collection.void
setSteward
(String steward) Set up the id of the steward responsible for the mapping.void
setStewardPropertyName
(String stewardPropertyName) Set up the name of the property that holds the steward's identifier.void
setStewardTypeName
(String stewardTypeName) Set up the type of element that describes the steward.void
setUserDefinedStatus
(String userDefinedStatus) Set up the status of the membership in the collection.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
CollectionMembershipProperties
public CollectionMembershipProperties()Default constructor -
CollectionMembershipProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getMembershipRationale
Return the rationale or role of the asset in this collection.- Returns:
- text
-
setMembershipRationale
Set up the rationale or role of the asset in this collection.- Parameters:
membershipRationale
- text
-
getCreatedBy
Return the identifier of the person/process that created this membership. The userId of the creator is automatically captured. This field can be used to add additional information about the creator. For example, this could be the identifier of a process instance that created the membership relationship.- Returns:
- string
-
setCreatedBy
Set up the identifier of the person/process that created this membership. The userId of the creator is automatically captured. This field can be used to add additional information about the creator. For example, this could be the identifier of a process instance that created the membership relationship.- Parameters:
createdBy
- string
-
getExpression
Return the expression used to determine the membership. This is used by automated processes that are determining membership through one or more matching algorithms. This string helps the steward understand the type of match made.- Returns:
- string
-
setExpression
Set up the expression used to determine the membership. This is used by automated processes that are determining membership through one or more matching algorithms. This string helps the steward understand the type of match made.- Parameters:
expression
- string
-
getConfidence
public int getConfidence()Return the confidence level (0-100) that the matching is correct.- Returns:
- int
-
setConfidence
public void setConfidence(int confidence) Set up the confidence level (0-100) that the matching is correct.- Parameters:
confidence
- int
-
getStatus
Return the status of the membership in the collection.- Returns:
- enum
-
setStatus
Set up the status of the membership in the collection.- Parameters:
status
- enum
-
getUserDefinedStatus
Return the status of the membership in the collection. This status is controlled by the local deployment.- Returns:
- string
-
setUserDefinedStatus
Set up the status of the membership in the collection. This status is controlled by the local deployment.- Parameters:
userDefinedStatus
- string
-
getSource
Return the source of information that determined the membership.- Returns:
- string
-
setSource
Set up the source of information that determined the membership.- Parameters:
source
- string
-
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
JSON-style toString- Overrides:
toString
in classRelationshipProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int hash code
-