Package javax.jdo.annotations

Examples of javax.jdo.annotations.Discriminator


    }

    @Override
    public void process(ProcessClassContext processClassContext) {

        final Discriminator annotation = Annotations.getAnnotation(processClassContext.getCls(), Discriminator.class);
        if (annotation == null) {
            return;
        }
        String annotationValueAttribute = annotation.value();
        if(!Strings.isNullOrEmpty(annotationValueAttribute)) {
            FacetUtil.addFacet(new ObjectSpecIdFacetInferredFromJdoDiscriminatorValueAnnotation(annotationValueAttribute, processClassContext.getFacetHolder()));
        } else {
            final FacetHolder facetHolder = processClassContext.getFacetHolder();
            final Class<?> originalClass = processClassContext.getCls();
View Full Code Here

TOP

Related Classes of javax.jdo.annotations.Discriminator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.