public interface JPAEdmComplexTypeView extends JPAEdmBaseView
The implementation of the view provides access to EDM complex types for the given JPA EDM model. The view acts as a container for consistent list of EDM complex types. An EDM complex type is said to be consistent only if it used in at least one of the EDM entity type.
JPAEdmComplexPropertyView
Modifier and Type | Method and Description |
---|---|
void |
addJPAEdmCompleTypeView(JPAEdmComplexTypeView view)
The method add a JPA EDM complex type view to the container.
|
void |
expandEdmComplexType(ComplexType complexType,
List<Property> expandedPropertyList,
String embeddablePropertyName)
The method expands the given EDM complex type into a list of EDM simple
properties.
|
List<ComplexType> |
getConsistentEdmComplexTypes()
The method returns a consistent list of EDM complex types.
|
ComplexType |
getEdmComplexType()
The method returns an EDM complex type that is currently being processed.
|
javax.persistence.metamodel.EmbeddableType<?> |
getJPAEmbeddableType()
The method returns an JPA embeddable type that is currently being
processed.
|
boolean |
isReferencedInKey(String complexTypeName)
The method checks if the given EDM complex type is referenced as a Key property in any Entity
|
ComplexType |
searchEdmComplexType(FullQualifiedName type)
The method searches for the EDM complex type with in the container for
the given EDM complex type's fully qualified name.
|
ComplexType |
searchEdmComplexType(String embeddableTypeName)
The method searches for the EDM complex type with in the container for
the given JPA embeddable type name.
|
void |
setReferencedInKey(String complexTypeName)
The method sets the given EDM complex type as referenced in an Entity as a key property
|
clean, getBuilder, getJPAEdmExtension, getJPAEdmMappingModelAccess, getJPAMetaModel, getpUnitName, isConsistent, isDefaultNamingSkipped
ComplexType getEdmComplexType()
ComplexType
javax.persistence.metamodel.EmbeddableType<?> getJPAEmbeddableType()
EmbeddableType
List<ComplexType> getConsistentEdmComplexTypes()
ComplexType
ComplexType searchEdmComplexType(String embeddableTypeName)
embeddableTypeName
- is the name of JPA embeddable typevoid addJPAEdmCompleTypeView(JPAEdmComplexTypeView view)
view
- isReferencedInKey
- is the complex type referenced in an Entity as a key property
is an instance of type JPAEdmComplexTypeView
ComplexType searchEdmComplexType(FullQualifiedName type)
type
- is the fully qualified name of EDM complex typevoid expandEdmComplexType(ComplexType complexType, List<Property> expandedPropertyList, String embeddablePropertyName)
complexType
- is the EDM complex type to expandexpandedPropertyList
- is the list to be populated with expanded EDM simple
propertiesembeddablePropertyName
- is the name of the complex property. The name is used as the
qualifier for the expanded simple property names.boolean isReferencedInKey(String complexTypeName)
complexTypeName
- EDM complex type namevoid setReferencedInKey(String complexTypeName)
complexTypeName
- EDM complex Type nameCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.