Class ElementOrigin
java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.model.ElementOrigin
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Returns the license for this instance.Returns the id of the metadata collection.Returns the name of the metadata collection.Returns the origin categoryReturns the name of the serverint
hashCode()
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 elementvoid
setSourceServer
(String sourceServer) Set up the name of the servertoString()
-
Constructor Details
-
ElementOrigin
public ElementOrigin()
-
-
Method Details
-
getSourceServer
Returns the name of the server- Returns:
- String - the name of the server
-
getMetadataCollectionId
Returns the id of the metadata collection.- Returns:
- String - the id of the metadata collection.
-
getMetadataCollectionName
Returns the name of the metadata collection.- Returns:
- String - the name of the metadata collection.
-
getInstanceLicense
Returns the license for this instance.- Returns:
- String - the license string.
-
getOriginCategory
Returns the origin category- Returns:
- the value from the enum representing the origin category
-
setSourceServer
Set up the name of the server- Parameters:
sourceServer
- - name of the server
-
setMetadataCollectionId
Set up the id of the metadata collection.- Parameters:
metadataCollectionId
- - id of the metadata collection.
-
setMetadataCollectionName
Set up the name of the metadata collection.- Parameters:
metadataCollectionName
- - name of the metadata collection.
-
setInstanceLicense
Set up the license string for this instance.- Parameters:
instanceLicense
- - the license string.
-
setOriginCategory
Set up the origin category of the element- Parameters:
originCategory
- - the origin category value
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-