Examples of EnumeratedMetadata


Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

            m_orderColumn = new OrderColumnMetadata(getAnnotation(JPA_ORDER_COLUMN), this);
        }
       
        // Set the map key enumerated if one is defined.
        if (isAnnotationPresent(JPA_MAP_KEY_ENUMERATED)) {
            m_mapKeyEnumerated = new EnumeratedMetadata(getAnnotation(JPA_MAP_KEY_ENUMERATED), this);
        }
       
        // Set the map key temporal if one is defined.
        if (isAnnotationPresent(JPA_MAP_KEY_TEMPORAL)) {
            m_mapKeyTemporal = new TemporalMetadata(getAnnotation(JPA_MAP_KEY_TEMPORAL), this);
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

     * Enumerated metadata has been specified but the accessor's reference
     * class is a valid enumerated type.
     */
    protected void processEnumerated(EnumeratedMetadata enumerated, DatabaseMapping mapping, MetadataClass referenceClass, boolean isForMapKey) {
        if (enumerated == null) {
            enumerated = new EnumeratedMetadata(this);
        }
       
        enumerated.process(mapping, this, referenceClass, isForMapKey);
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

            m_mapKeyClass = getMetadataClass((String) getAnnotation(JPA_MAP_KEY_CLASS).getAttribute("value"));
        }
       
        // Set the map key enumerated if one is defined.
        if (isAnnotationPresent(JPA_MAP_KEY_ENUMERATED)) {
            m_mapKeyEnumerated = new EnumeratedMetadata(getAnnotation(JPA_MAP_KEY_ENUMERATED), this);
        }
       
        // Set the map key temporal if one is defined.
        if (isAnnotationPresent(JPA_MAP_KEY_TEMPORAL)) {
            m_mapKeyTemporal = new TemporalMetadata(getAnnotation(JPA_MAP_KEY_TEMPORAL), this);
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

            m_lob = new LobMetadata(getAnnotation(JPA_LOB), this);
        }
       
        // Set the enumerated if one is present.
        if (isAnnotationPresent(JPA_ENUMERATED)) {
            m_enumerated = new EnumeratedMetadata(getAnnotation(JPA_ENUMERATED), this);
        }
       
        // Set the temporal type if one is present.
        if (isAnnotationPresent(JPA_TEMPORAL)) {
            m_temporal = new TemporalMetadata(getAnnotation(JPA_TEMPORAL), this);
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

            m_mapKeyClass = getMetadataClass((String) getAnnotation(MapKeyClass.class).getAttribute("value"));
        }
       
        // Set the map key enumerated if one is defined.
        if (isAnnotationPresent(MapKeyEnumerated.class)) {
            m_mapKeyEnumerated = new EnumeratedMetadata(getAnnotation(MapKeyEnumerated.class), this);
        }
       
        // Set the map key temporal if one is defined.
        if (isAnnotationPresent(MapKeyTemporal.class)) {
            m_mapKeyTemporal = new TemporalMetadata(getAnnotation(MapKeyTemporal.class), this);
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

            m_lob = new LobMetadata(getAnnotation(Lob.class), this);
        }
       
        // Set the enumerated if one is present.
        if (isAnnotationPresent(Enumerated.class)) {
            m_enumerated = new EnumeratedMetadata(getAnnotation(Enumerated.class), this);
        }
       
        // Set the temporal type if one is present.
        if (isAnnotationPresent(Temporal.class)) {
            m_temporal = new TemporalMetadata(getAnnotation(Temporal.class), this);
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

     * Enumerated metadata has been specified but the accessor's reference
     * class is a valid enumerated type.
     */
    protected void processEnumerated(EnumeratedMetadata enumerated, DatabaseMapping mapping, MetadataClass referenceClass, boolean isForMapKey) {
        if (enumerated == null) {
            enumerated = new EnumeratedMetadata(this);
        }
       
        enumerated.process(mapping, this, referenceClass, isForMapKey);
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

            m_lob = new LobMetadata(getAnnotation(Lob.class), getAccessibleObject());
        }
       
        // Set the enumerated if one is present.
        if (isAnnotationPresent(Enumerated.class)) {
            m_enumerated = new EnumeratedMetadata(getAnnotation(Enumerated.class), getAccessibleObject());
        }
       
        // Set the temporal type if one is present.
        if (isAnnotationPresent(Temporal.class)) {
            m_temporal = new TemporalMetadata(getAnnotation(Temporal.class), getAccessibleObject());
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

            m_orderColumn = new OrderColumnMetadata(getAnnotation(OrderColumn.class), accessibleObject, correctionType);
        }
       
        // Set the map key enumerated if one is defined.
        if (isAnnotationPresent(MapKeyEnumerated.class)) {
            m_mapKeyEnumerated = new EnumeratedMetadata(getAnnotation(MapKeyEnumerated.class), accessibleObject);
        }
       
        // Set the map key temporal if one is defined.
        if (isAnnotationPresent(MapKeyTemporal.class)) {
            m_mapKeyTemporal = new TemporalMetadata(getAnnotation(MapKeyTemporal.class), accessibleObject);
View Full Code Here

Examples of org.eclipse.persistence.internal.jpa.metadata.converters.EnumeratedMetadata

     * class is a valid enumerated type.
     */
    protected void processEnumerated(EnumeratedMetadata enumerated, DatabaseMapping mapping, MetadataClass referenceClass, boolean isForMapKey) {
        if (enumerated == null) {
            // TODO: Log a defaulting message
            enumerated = new EnumeratedMetadata(getAccessibleObject());
        }
       
        enumerated.process(mapping, this, referenceClass, isForMapKey);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.