public class SchemaAttributeConverter extends ReferenceableConverter
| Modifier and Type | Field and Description |
|---|---|
protected EntityDetail |
entity |
protected Relationship |
relationship |
protected OMRSRepositoryHelper |
repositoryHelper |
protected String |
serviceName |
| Constructor and Description |
|---|
SchemaAttributeConverter(EntityDetail mainEntity,
SchemaType attributeType,
SchemaLink externalAttributeType,
List<SchemaAttributeRelationship> attributeRelationships,
OMRSRepositoryHelper repositoryHelper,
String serviceName)
Constructor captures the initial content
|
| Modifier and Type | Method and Description |
|---|---|
SchemaAttribute |
getBean()
Request the bean is extracted from the repository entity.
|
getClassificationProperties, updateBeanprotected EntityDetail entity
protected Relationship relationship
protected OMRSRepositoryHelper repositoryHelper
protected String serviceName
public SchemaAttributeConverter(EntityDetail mainEntity, SchemaType attributeType, SchemaLink externalAttributeType, List<SchemaAttributeRelationship> attributeRelationships, OMRSRepositoryHelper repositoryHelper, String serviceName)
mainEntity - properties to convertattributeType - schema type for the attributeexternalAttributeType - attribute type for a linkattributeRelationships - links to other attributesrepositoryHelper - helper object to parse entity/relationship objectsserviceName - name of this componentpublic SchemaAttribute getBean()
getBean in class ReferenceableConverterCopyright © 2018–2019 ODPi. All rights reserved.