Interface MappingConstructor<X>
-
- Type Parameters:
X
- The type of the declaring entity view
public interface MappingConstructor<X>
Represents a constructor of a view type.- Since:
- 1.0.0
- Author:
- Christian Beikov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedViewType<X>
getDeclaringType()
Returns the declaring managed view type.Constructor<X>
getJavaConstructor()
Returns the java constructor for this mapping constructor.String
getName()
Returns the name of the constructor.ParameterAttribute<? super X,?>
getParameterAttribute(int index)
Returns the parameter attribute of this mapping constructor at the given index if it exists, otherwise null.List<ParameterAttribute<? super X,?>>
getParameterAttributes()
Returns the parameter attributes of this mapping constructor.
-
-
-
Method Detail
-
getName
String getName()
Returns the name of the constructor.- Returns:
- The name of the constructor
-
getDeclaringType
ManagedViewType<X> getDeclaringType()
Returns the declaring managed view type.- Returns:
- The declaring managed view type
-
getJavaConstructor
Constructor<X> getJavaConstructor()
Returns the java constructor for this mapping constructor.- Returns:
- The java constructor for this mapping constructor
-
getParameterAttributes
List<ParameterAttribute<? super X,?>> getParameterAttributes()
Returns the parameter attributes of this mapping constructor.- Returns:
- The parameter attributes of this mapping constructor
-
getParameterAttribute
ParameterAttribute<? super X,?> getParameterAttribute(int index)
Returns the parameter attribute of this mapping constructor at the given index if it exists, otherwise null.- Parameters:
index
- The index at which the parameter is located- Returns:
- The parameter attribute of this mapping constructor at the given index if it exists, otherwise null.
-
-