Class TaggedElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetconsumer.elements.TaggedElement
-
- All Implemented Interfaces:
Serializable
public class TaggedElement extends Object implements Serializable
RelatedElement contains the properties and header for a relationship retrieved from the metadata repository along with the stub of the related element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaggedElement()Default constructorTaggedElement(TaggedElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.booleangetIsPublic()Return if the link to the tag is private to the creating user.ElementStubgetRelatedElement()Return the element header associated with end 1 of the relationship.ElementHeadergetRelationshipHeader()Return the element header associated with the relationship.inthashCode()Return hash code for this objectvoidsetIsPublic(boolean aPublic)Set up whether the link to the tag is private to the creating user or not.voidsetRelatedElement(ElementStub relatedElement)Set up the element header associated with end 1 of the relationship.voidsetRelationshipHeader(ElementHeader relationshipHeader)Set up the element header associated with the relationship.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
TaggedElement
public TaggedElement()
Default constructor
-
TaggedElement
public TaggedElement(TaggedElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getIsPublic
public boolean getIsPublic()
Return if the link to the tag is private to the creating user.- Returns:
- boolean
-
setIsPublic
public void setIsPublic(boolean aPublic)
Set up whether the link to the tag is private to the creating user or not.- Parameters:
aPublic- boolean
-
getRelationshipHeader
public ElementHeader getRelationshipHeader()
Return the element header associated with the relationship.- Returns:
- element header object
-
setRelationshipHeader
public void setRelationshipHeader(ElementHeader relationshipHeader)
Set up the element header associated with the relationship.- Parameters:
relationshipHeader- element header object
-
getRelatedElement
public ElementStub getRelatedElement()
Return the element header associated with end 1 of the relationship.- Returns:
- element stub object
-
setRelatedElement
public void setRelatedElement(ElementStub relatedElement)
Set up the element header associated with end 1 of the relationship.- Parameters:
relatedElement- element stub object
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-