|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.extensions.ParameterType
public class ParameterType
Used to store information about parameter types
Constructor Summary | |
---|---|
ParameterType(java.lang.String name,
java.lang.Class<?> type,
boolean required)
The constructor |
Method Summary | |
---|---|
java.lang.String |
getName()
Used to get the name of the parameter |
java.lang.Class<?> |
getType()
Used to get the type of the parameter |
boolean |
isRequired()
Return true if the parameter is required |
void |
setName(java.lang.String name)
Used to set the name of the parameter |
void |
setRequired(boolean required)
Used to set if a parameter is required |
void |
setType(java.lang.Class<?> type)
Used to get the type of the parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterType(java.lang.String name, java.lang.Class<?> type, boolean required)
name
- The name of the parametertype
- The type of the parameterrequired
- Used to indercate if the parameter is requiredMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the parameterpublic java.lang.Class<?> getType()
public void setType(java.lang.Class<?> type)
type
- the type of the parameterpublic boolean isRequired()
public void setRequired(boolean required)
required
- true if the parameter is required
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |