Class DigitalArchitectureOMASConverter<B>

    • Constructor Detail

      • DigitalArchitectureOMASConverter

        public DigitalArchitectureOMASConverter​(OMRSRepositoryHelper repositoryHelper,
                                                String serviceName,
                                                String serverName)
        Constructor
        Parameters:
        repositoryHelper - helper object to parse entity
        serviceName - name of this component
        serverName - name of this server
    • Method Detail

      • getClassification

        protected ElementClassification getClassification​(String classificationName,
                                                          List<ElementClassification> beanClassifications)
        Retrieve a specific named classification.
        Parameters:
        classificationName - name of classification
        beanClassifications - list of classifications retrieved from the repositories
        Returns:
        null or the requested classification
      • getElementStub

        public ElementStub getElementStub​(Class<B> beanClass,
                                          EntityProxy entityProxy,
                                          String methodName)
                                   throws PropertyServerException
        Extract the properties from the entity proxy.
        Parameters:
        beanClass - name of the class to create
        entityProxy - entityProxy from the relationship containing the properties
        methodName - calling method
        Returns:
        filled out element header
        Throws:
        PropertyServerException - there is a problem in the use of the generic handlers because the converter has been configured with a type of bean that is incompatible with the handler