Interface MetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
- All Known Implementing Classes:
MetadataProjectableAdapter, ReflectionMetadataProjectableAdapter
public interface MetadataAdapter<TypeMetadata, AttributeMetadata, AttributeId extends Comparable<AttributeId>>
A generic representation of some of the aspects of type metadata. This is meant to ensure decoupling from the
underlying metadata representation (Class, Protobuf descriptor, etc).
- Since:
- 7.0
- Author:
- anistor@redhat.com
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisComparableProperty(AttributeMetadata attributeMetadata) makeChildAttributeMetadata(AttributeMetadata parentAttributeMetadata, AttributeId attribute) Transforms a String property name path into an internal representation of the path which might not be String based (AttributeId is an Integer in the Protobuf case).
-
Method Details
-
getTypeName
String getTypeName() -
getTypeMetadata
TypeMetadata getTypeMetadata() -
mapPropertyNamePathToFieldIdPath
Transforms a String property name path into an internal representation of the path which might not be String based (AttributeId is an Integer in the Protobuf case). -
makeChildAttributeMetadata
AttributeMetadata makeChildAttributeMetadata(AttributeMetadata parentAttributeMetadata, AttributeId attribute) -
isComparableProperty
-