public class ReferenceableConverter extends ElementHeaderConverter
entity, relationship, repositoryHelper, serviceName, typeName| Constructor and Description |
|---|
ReferenceableConverter(EntityDetail entity,
OMRSRepositoryHelper repositoryHelper,
String serviceName)
Constructor captures the initial content
|
ReferenceableConverter(EntityDetail entity,
Relationship relationship,
OMRSRepositoryHelper repositoryHelper,
String serviceName)
Constructor captures the initial content with relationship
|
| Modifier and Type | Method and Description |
|---|---|
Referenceable |
getBean()
Return the converted bean.
|
protected InstanceProperties |
getClassificationProperties(String classificationName)
Extract the properties for the requested classification from the entity.
|
protected void |
updateBean(Referenceable bean)
Set up the bean to convert.
|
updateBeanpublic ReferenceableConverter(EntityDetail entity, OMRSRepositoryHelper repositoryHelper, String serviceName)
entity - properties to convertrepositoryHelper - helper object to parse entityserviceName - name of this componentpublic ReferenceableConverter(EntityDetail entity, Relationship relationship, OMRSRepositoryHelper repositoryHelper, String serviceName)
entity - properties to convertrelationship - properties to convertrepositoryHelper - helper object to parse entity/relationshipserviceName - name of this componentprotected void updateBean(Referenceable bean)
bean - output beanpublic Referenceable getBean()
protected InstanceProperties getClassificationProperties(String classificationName)
classificationName - name of classificationCopyright © 2018–2020 ODPi. All rights reserved.