public class SchemaTypeConverter extends ReferenceableConverter
| Modifier and Type | Field and Description |
|---|---|
protected EntityDetail |
entity |
protected Relationship |
relationship |
protected OMRSRepositoryHelper |
repositoryHelper |
protected String |
serviceName |
| Constructor and Description |
|---|
SchemaTypeConverter(EntityDetail mainEntity,
int schemaAttributeCount,
OMRSRepositoryHelper repositoryHelper,
String serviceName)
Constructor captures the initial content
|
| Modifier and Type | Method and Description |
|---|---|
SchemaType |
getBean()
Request the bean is extracted from the repository entity.
|
getClassificationProperties, updateBeanprotected EntityDetail entity
protected Relationship relationship
protected OMRSRepositoryHelper repositoryHelper
protected String serviceName
public SchemaTypeConverter(EntityDetail mainEntity, int schemaAttributeCount, OMRSRepositoryHelper repositoryHelper, String serviceName)
mainEntity - properties to convertschemaAttributeCount - number of attributes nexted inside this schema typerepositoryHelper - helper object to parse entity/relationship objectsserviceName - name of this componentpublic SchemaType getBean()
getBean in class ReferenceableConverterCopyright © 2018–2019 ODPi. All rights reserved.