Package net.jangaroo.jooc.model
Class ParamModel
- java.lang.Object
-
- net.jangaroo.jooc.model.NamedModel
-
- net.jangaroo.jooc.model.DocumentedModel
-
- net.jangaroo.jooc.model.AbstractTypedModel
-
- net.jangaroo.jooc.model.ParamModel
-
- All Implemented Interfaces:
ActionScriptModel,TypedModel,ValuedModel
public class ParamModel extends AbstractTypedModel implements ValuedModel
Created with IntelliJ IDEA. User: fwienber Date: 14.05.12 Time: 16:49 To change this template use File | Settings | File Templates.
-
-
Constructor Summary
Constructors Constructor Description ParamModel()ParamModel(String name, String type)ParamModel(String name, String type, String defaultValue)ParamModel(String name, String type, String defaultValue, boolean rest)ParamModel(String name, String type, String defaultValue, boolean rest, String asdoc)ParamModel(String name, String type, String defaultValue, String asdoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParamModelduplicate()booleanequals(Object o)StringgetValue()inthashCode()booleanisOptional()booleanisRest()voidsetOptional(boolean optional)voidsetRest(boolean rest)voidsetValue(String value)voidvisit(ModelVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.model.AbstractTypedModel
getType, setType
-
Methods inherited from class net.jangaroo.jooc.model.DocumentedModel
getAsdoc, setAsdoc
-
Methods inherited from class net.jangaroo.jooc.model.NamedModel
getName, setName
-
-
-
-
Method Detail
-
getValue
public String getValue()
- Specified by:
getValuein interfaceValuedModel
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfaceValuedModel
-
isRest
public boolean isRest()
-
setRest
public void setRest(boolean rest)
-
visit
public void visit(ModelVisitor visitor)
- Specified by:
visitin interfaceActionScriptModel
-
isOptional
public boolean isOptional()
-
setOptional
public void setOptional(boolean optional)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classNamedModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classNamedModel
-
duplicate
public ParamModel duplicate()
-
-