Class Collection
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
-
- org.odpi.openmetadata.accessservices.dataengine.model.Collection
-
- All Implemented Interfaces:
Serializable
public class Collection extends Referenceable
The collection entity is a group of related items.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Collection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetName()Return the name of the collection.inthashCode()voidsetName(String name)Set up the name of the collection.StringtoString()-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
-
-
-
Method Detail
-
getName
public String getName()
Return the name of the collection.- Returns:
- name string name
-
setName
public void setName(String name)
Set up the name of the collection.- Parameters:
name- String name
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classReferenceable
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classReferenceable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classReferenceable
-
toString
public String toString()
- Overrides:
toStringin classReferenceable
-
-