| Modifier and Type | Method and Description |
|---|---|
protected String |
OMRSTopicListenerBase.getInstanceTypeName(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
InstanceHeader instance,
String actionDescription)
A new entity has been created.
|
| Modifier and Type | Method and Description |
|---|---|
protected TypeDef |
OMRSMetadataCollectionBase.getTypeDefForInstance(InstanceHeader header,
String methodName)
Extract the typeDef for an instance
|
protected void |
OMRSMetadataCollectionBase.referenceInstanceParameterValidation(String userId,
InstanceHeader instanceHeader,
String instanceParameterName,
String methodName)
Validate the header instance passed to a delete or purge instance method.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EntityDetail
EntityDetail stores all of the type-specific properties for the entity.
|
class |
EntityProxy
EntityProxy summarizes an entity instance.
|
class |
EntitySummary
EntitySummary provides the basic header attributes for an open metadata entity.
|
class |
Relationship
Relationship is a POJO that manages the properties of an open metadata relationship.
|
| Constructor and Description |
|---|
InstanceHeader(InstanceHeader template)
Copy/clone constructor set the value to those supplied in the template.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OMRSRepositoryValidator.validateEntityCanBeRehomed(String sourceName,
String metadataCollectionId,
InstanceHeader instance,
String methodName)
Verify that an entity instance can be rehomed by the metadataCollection.
|
void |
OMRSRepositoryValidator.validateEntityCanBeUpdated(String sourceName,
String metadataCollectionId,
InstanceHeader instance,
String methodName)
Verify that an entity instance can be updated by the metadataCollection.
|
void |
OMRSRepositoryValidator.validateEntityIsDeleted(String sourceName,
InstanceHeader instance,
String methodName)
Verify the status of an entity to check it has been deleted.
|
void |
OMRSRepositoryValidator.validateEntityIsNotDeleted(String sourceName,
InstanceHeader instance,
String methodName)
Verify the status of an entity to check it has not been deleted.
|
void |
OMRSRepositoryValidator.validateHomeMetadataGUID(String sourceName,
InstanceHeader instance,
String methodName)
Validate that a home metadata collection identifier in an instance is not null.
|
void |
OMRSRepositoryValidator.validateInstanceStatusForDelete(String sourceName,
InstanceHeader instance,
String methodName)
Verify that an instance is not already deleted since the repository is processing a delete request
and it does not want to look stupid.
|
void |
OMRSRepositoryValidator.validateInstanceType(String sourceName,
InstanceHeader instance)
Verify that the instance retrieved from the repository has a valid instance type.
|
void |
OMRSRepositoryValidator.validateInstanceType(String sourceName,
InstanceHeader instance,
String typeGUIDParameterName,
String typeNameParameterName,
String expectedTypeGUID,
String expectedTypeName)
Verify that the instance retrieved from the repository has a valid instance type that matches the
expected type.
|
void |
OMRSRepositoryValidator.validateReferenceInstanceHeader(String sourceName,
String localMetadataCollectionId,
String instanceParameterName,
InstanceHeader instance,
String methodName)
Validates that an instance has the correct header for it to be a reference copy.
|
void |
OMRSRepositoryValidator.validateRelationshipCanBeRehomed(String sourceName,
String metadataCollectionId,
InstanceHeader instance,
String methodName)
Verify that a relationship instance can be rehomed by the metadataCollection.
|
void |
OMRSRepositoryValidator.validateRelationshipCanBeUpdated(String sourceName,
String metadataCollectionId,
InstanceHeader instance,
String methodName)
Verify that a relationship instance can be updated by the metadataCollection.
|
void |
OMRSRepositoryValidator.validateRelationshipIsDeleted(String sourceName,
InstanceHeader instance,
String methodName)
Verify the status of a relationship to check it has been deleted.
|
void |
OMRSRepositoryValidator.validateRelationshipIsNotDeleted(String sourceName,
InstanceHeader instance,
String methodName)
Verify the status of a relationship to check it has not been deleted.
|
void |
OMRSRepositoryValidator.validateTypeForInstanceDelete(String sourceName,
String typeDefGUID,
String typeDefName,
InstanceHeader instance,
String methodName)
Validate that the supplied TypeDef GUID and name matches the type associated with a metadata instance.
|
boolean |
OMRSRepositoryValidator.verifyInstanceHasRightStatus(List<InstanceStatus> validStatuses,
InstanceHeader instance)
Verify that the supplied instance is in one of the supplied statuses.
|
boolean |
OMRSRepositoryValidator.verifyInstanceType(String sourceName,
String instanceTypeGUID,
InstanceHeader instance)
Verify whether the instance passed to this method is of the type indicated by the type guid.
|
Copyright © 2018–2020 ODPi. All rights reserved.