Class ExternalReferenceBuilder
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
org.odpi.openmetadata.commonservices.generichandlers.ExternalReferenceBuilder
ExternalReferenceBuilder creates the parts for an entity that represents an external reference.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
qualifiedName
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
errorHandler, existingClassifications, extendedProperties, instanceStatus, newClassifications, repositoryHelper, serverName, serviceName, templateProperties, typeGUID, typeName
-
Constructor Summary
ConstructorDescriptionExternalReferenceBuilder
(String qualifiedName, String displayName, String description, String url, String referenceVersion, String organization, Map<String, String> additionalProperties, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Create constructor -
Method Summary
Modifier and TypeMethodDescriptiongetInstanceProperties
(String methodName) Return the supplied bean properties in an InstanceProperties object.Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableBuilder
getMementoProperties, getQualifiedName, setMemento, setOwnershipClassification, setSecurityTags, setTemplate
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericBuilder
getEntityClassifications, getInstanceProperties, getInstanceStatus, getTypeGUID, getTypeName, isClassificationSet, setAnchors, setClassification, setEffectivityDates, setEffectivityDates, setTemplateClassifications, setTemplateSubstitute, updateInstanceProperties
-
Constructor Details
-
ExternalReferenceBuilder
public ExternalReferenceBuilder(String qualifiedName, String displayName, String description, String url, String referenceVersion, String organization, Map<String, String> additionalProperties, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName) Create constructor- Parameters:
qualifiedName
- unique name for the referencedisplayName
- short display name for the referencedescription
- description of the referenceurl
- the location of the referencereferenceVersion
- version of the referenceorganization
- owning org for the referenceadditionalProperties
- additional properties for the referencerepositoryHelper
- helper methodsserviceName
- name of this OMASserverName
- name of local server
-
-
Method Details
-
getInstanceProperties
Return the supplied bean properties in an InstanceProperties object.- Overrides:
getInstanceProperties
in classReferenceableBuilder
- Parameters:
methodName
- name of the calling method- Returns:
- InstanceProperties object
- Throws:
InvalidParameterException
- there is a problem with the properties
-