public class Parameter extends Valuable
Constructor and Description |
---|
Parameter() |
Modifier and Type | Method and Description |
---|---|
Entity |
asEntity()
Gets the value in its entity representation or null if it is not based on an entity value type.
|
boolean |
equals(Object o) |
String |
getName()
Gets the name of the parameter.
|
int |
hashCode() |
boolean |
isEntity()
Checks whether this parameter value is of the value type ENTITY or COLLECTION_ENTITY.
|
void |
setName(String name)
Sets the name of the parameter.
|
String |
toString() |
asCollection, asComplex, asEnum, asGeospatial, asPrimitive, getType, getValue, getValueType, isCollection, isComplex, isEnum, isGeospatial, isNull, isPrimitive, setType, setValue
getAnnotations
public String getName()
public void setName(String name)
name
- of the parameterpublic boolean isEntity()
public Entity asEntity()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.