public class ParamDef extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ParamDef.Location |
| Constructor and Description |
|---|
ParamDef(String name)
Creates a new ParamDef instance.
|
| Modifier and Type | Method and Description |
|---|---|
ParamDef.Location |
getLocation()
Returns the location of the parameter value.
|
String |
getName()
Returns the name of this parameter.
|
String |
getStyle()
Returns the serialization style of the parameter value.
|
ValueDef<?> |
getValue()
Returns the value definition for this parameter.
|
boolean |
isExploded()
Returns if the parameter value is serialized in exploded form.
|
void |
setExploded(boolean exploded)
Changes if the parameter value is serialized in exploded form.
|
void |
setLocation(ParamDef.Location location)
Changes the location of the parameter value.
|
void |
setLocation(String location)
Changes the location of the parameter value.
|
void |
setStyle(String style)
Changes the serialization style of the parameter value.
|
void |
setValue(ValueDef<?> value)
Changes the value definition for this parameter.
|
String |
toString() |
public ParamDef(String name)
public String getName()
public void setValue(ValueDef<?> value)
public ValueDef<?> getValue()
public void setLocation(String location)
public void setLocation(ParamDef.Location location)
public ParamDef.Location getLocation()
public void setStyle(String style)
public String getStyle()
public void setExploded(boolean exploded)
public boolean isExploded()
Copyright © 2020 The Cornutum Project. All rights reserved.