Class ElementOrigin
java.lang.Object
org.odpi.openmetadata.viewservices.assetcatalog.beans.ElementOrigin
The ElementOrigin object holds information about the origin of the retrieved element. This means information about
the metadata server, the metadata collection ID and name, etc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Returns the license for this instance.Returns the id of the metadata collection.Returns the name of the metadata collection.Returns the origin category.Returns the name of the server.int
hashCode()
Return hash code based on properties.void
setInstanceLicense
(String instanceLicense) Set up the license string for this instance.void
setMetadataCollectionId
(String metadataCollectionId) Set up the id of the metadata collection.void
setMetadataCollectionName
(String metadataCollectionName) Set up the name of the metadata collection.void
setOriginCategory
(ElementOriginCategory originCategory) Set up the origin category of the element.void
setSourceServer
(String sourceServer) Set up the name of the server.toString()
Standard toString method.
-
Constructor Details
-
ElementOrigin
public ElementOrigin()Default constructor.
-
-
Method Details
-
getSourceServer
Returns the name of the server.- Returns:
- String - the name of the server
-
setSourceServer
Set up the name of the server.- Parameters:
sourceServer
- - name of the server
-
getMetadataCollectionId
Returns the id of the metadata collection.- Returns:
- String - the id of the metadata collection.
-
setMetadataCollectionId
Set up the id of the metadata collection.- Parameters:
metadataCollectionId
- - id of the metadata collection.
-
getMetadataCollectionName
Returns the name of the metadata collection.- Returns:
- String - the name of the metadata collection.
-
setMetadataCollectionName
Set up the name of the metadata collection.- Parameters:
metadataCollectionName
- - name of the metadata collection.
-
getInstanceLicense
Returns the license for this instance.- Returns:
- String - the license string.
-
setInstanceLicense
Set up the license string for this instance.- Parameters:
instanceLicense
- - the license string.
-
getOriginCategory
Returns the origin category.- Returns:
- the value from the enum representing the origin category
-
setOriginCategory
Set up the origin category of the element.- Parameters:
originCategory
- - the origin category value
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-