Class AssetUniverse
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetDescriptor
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetSummary
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetDetail
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetUniverse
-
- All Implemented Interfaces:
Serializable
public class AssetUniverse extends AssetDetail
AssetUniverse extends AssetDetail which extend AssetSummary. AssetUniverse adds information about the common open metadata entities related to this asset.- meanings - glossary term(s) assigned to this asset.
- schema - details of the schema type associated with the asset.
- feedback - details of the reviews, tags and comments that are connected to the asset.
- knownLocations - details of the known locations of the asset.
- lineage - details of the lineage for the asset.
- relatedAssets - details of the assets lined to this asset.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AssetFeedbackfeedbackprotected AssetLocationsknownLocationsprotected AssetLineagelineageprotected List<AssetMeaning>meaningsprotected AssetRelatedAssetsrelatedAssetsprotected AssetSchemaTypeschema-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetDetail
certifications, connections, externalIdentifiers, externalReferences, licenses, noteLogs, relatedMediaReferences
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetDescriptor
assetBean
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAssetUniverse()Default constructor only for subclassesAssetUniverse(AssetUniverse template)Copy/clone Constructor note this is a deep copyAssetUniverse(Asset assetBean, AssetExternalIdentifiers externalIdentifiers, AssetRelatedMediaReferences relatedMediaReferences, AssetNoteLogs noteLogs, AssetExternalReferences externalReferences, AssetConnections connections, AssetLicenses licenses, AssetCertifications certifications, List<AssetMeaning> meanings, AssetSchemaType schema, AssetFeedback feedback, AssetLocations knownLocations, AssetLineage lineage, AssetRelatedAssets relatedAssets)Typical Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.AssetFeedbackgetFeedback()Return details of the people, products and feedback that are connected to the asset.AssetLocationsgetKnownLocations()Return the list of locations for the asset.AssetLineagegetLineage()Return details of the lineage for the asset.List<AssetMeaning>getMeanings()Return the list of glossary definitions assigned directly to this asset.AssetRelatedAssetsgetRelatedAssets()Return the list of assets related to this asset.AssetSchemaTypegetSchema()Return details of the schema associated with the asset.inthashCode()Hash of propertiesStringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetDetail
getCertifications, getConnections, getExternalIdentifiers, getExternalReferences, getLicenses, getNoteLogs, getRelatedMediaReferences
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetSummary
getAdditionalProperties, getAssetClassifications, getDescription, getDisplayName, getExtendedProperties, getGUID, getLatestChange, getOrigins, getOwner, getOwnerPropertyName, getOwnerType, getOwnerTypeName, getQualifiedName, getShortDescription, getType, getURL, getZoneMembership
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetDescriptor
getAssetBean, getAssetName, getAssetSuperTypeNames, getAssetTypeName, setAssetBean
-
-
-
-
Field Detail
-
meanings
protected List<AssetMeaning> meanings
-
schema
protected AssetSchemaType schema
-
feedback
protected AssetFeedback feedback
-
knownLocations
protected AssetLocations knownLocations
-
lineage
protected AssetLineage lineage
-
relatedAssets
protected AssetRelatedAssets relatedAssets
-
-
Constructor Detail
-
AssetUniverse
protected AssetUniverse()
Default constructor only for subclasses
-
AssetUniverse
public AssetUniverse(Asset assetBean, AssetExternalIdentifiers externalIdentifiers, AssetRelatedMediaReferences relatedMediaReferences, AssetNoteLogs noteLogs, AssetExternalReferences externalReferences, AssetConnections connections, AssetLicenses licenses, AssetCertifications certifications, List<AssetMeaning> meanings, AssetSchemaType schema, AssetFeedback feedback, AssetLocations knownLocations, AssetLineage lineage, AssetRelatedAssets relatedAssets)
Typical Constructor- Parameters:
assetBean- details of this assetexternalIdentifiers- ExternalIdentifiers listrelatedMediaReferences- RelatedMediaReferences listnoteLogs- NoteLogs iteratorexternalReferences- ExternalReferences iteratorconnections- List of connections attached to the assetlicenses- List of licensescertifications- Certifications list of certificationsmeanings- Meanings list of glossary definitions.schema- StructSchemaType object to query schema and related glossary definitions.feedback- Feedback object to query the feedback.knownLocations- Locations listlineage- lineage object to query the origin of the asset.relatedAssets- AssetRelatedAssets list
-
AssetUniverse
public AssetUniverse(AssetUniverse template)
Copy/clone Constructor note this is a deep copy- Parameters:
template- template to copy
-
-
Method Detail
-
getMeanings
public List<AssetMeaning> getMeanings()
Return the list of glossary definitions assigned directly to this asset.- Returns:
- Meanings list of glossary definitions.
-
getSchema
public AssetSchemaType getSchema()
Return details of the schema associated with the asset.- Returns:
- SchemaElement schema object to query the schema associated with the connected asset.
-
getFeedback
public AssetFeedback getFeedback()
Return details of the people, products and feedback that are connected to the asset.- Returns:
- Feedback feedback object to query the feedback on the asset.
-
getKnownLocations
public AssetLocations getKnownLocations()
Return the list of locations for the asset.- Returns:
- Locations list of locations.
-
getLineage
public AssetLineage getLineage()
Return details of the lineage for the asset.- Returns:
- Lineage lineage object that allows queries about the lineage of the asset.
-
getRelatedAssets
public AssetRelatedAssets getRelatedAssets()
Return the list of assets related to this asset.- Returns:
- AssetRelatedAssets list
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classAssetDetail- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classAssetDetail- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classAssetDetail- Returns:
- int
-
-