public final class MetadataKeyIdModelProperty extends Object implements ModelProperty
ModelProperty
for a of SourceModel
and OperationModel
parameters
that indicates that its a MetadataKeyId
.Constructor and Description |
---|
MetadataKeyIdModelProperty(MetadataType type,
String parameterName)
Deprecated.
|
MetadataKeyIdModelProperty(MetadataType type,
String parameterName,
String categoryName) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getCategoryName() |
String |
getName()
A unique name which identifies this property.
|
String |
getParameterName() |
MetadataType |
getType() |
boolean |
isPublic()
Whether this instance should be included when serializing or sharing
the owning
EnrichableModel or if on the contrary, this model property
holds information which is proprietary to the runtime and should not
communicated. |
public static final String NAME
@Deprecated public MetadataKeyIdModelProperty(MetadataType type, String parameterName)
type
- of the ParameterModel
annotated with MetadataKeyId
.public MetadataKeyIdModelProperty(MetadataType type, String parameterName, String categoryName)
public String getName()
getName
in interface ModelProperty
getName
in interface NamedObject
public boolean isPublic()
EnrichableModel
or if on the contrary, this model property
holds information which is proprietary to the runtime and should not
communicated.
Non public properties should be skipped by serializers and any other kind of sharing mechanisms.
BEWARE: Non public model properties are not to be considered API and thus nobody (or anything) should depend on it. Backwards compatibility will not be guaranteed on non public properties.
isPublic
in interface ModelProperty
public MetadataType getType()
ParameterModel
annotated with MetadataKeyId
public String getParameterName()
MetadataKeyId
public Optional<String> getCategoryName()
MetadataKeyId
belongs.Copyright © 2018. All rights reserved.