Class CommunityMembershipProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.CommunityMembershipProperties
CommunityMembershipProperties provides a details of the purpose (and privileges) of the membership role.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the membership type.inthashCode()Return hash code based on properties.voidsetMembershipType(CommunityMembershipType membershipType) Set up the membership type.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
CommunityMembershipProperties
public CommunityMembershipProperties()Default constructor -
CommunityMembershipProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getMembershipType
Return the membership type.- Returns:
- membership type
-
setMembershipType
Set up the membership type.- Parameters:
membershipType- membership type
-
toString
JSON-style toString- Overrides:
toStringin classRelationshipProperties- Returns:
- return string containing the property names and values
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-