public interface InstanceCreatorMetadata<P extends PersistentProperty<P>>
Modifier and Type | Method and Description |
---|---|
default int |
getParameterCount() |
List<Parameter<Object,P>> |
getParameters() |
default boolean |
hasParameters() |
boolean |
isCreatorParameter(PersistentProperty<?> property)
Check whether the given
PersistentProperty is being used as creator parameter. |
default boolean |
isParentParameter(Parameter<?,P> parameter)
Returns whether the given
Parameter is one referring to parent value (such as an enclosing class or a
receiver parameter). |
boolean isCreatorParameter(PersistentProperty<?> property)
PersistentProperty
is being used as creator parameter.property
- default boolean isParentParameter(Parameter<?,P> parameter)
Parameter
is one referring to parent value (such as an enclosing class or a
receiver parameter).parameter
- default int getParameterCount()
List<Parameter<Object,P>> getParameters()
default boolean hasParameters()
Parameter
s.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.