net.jangaroo.jooc.model
Class ParamModel

java.lang.Object
  extended by net.jangaroo.jooc.model.NamedModel
      extended by net.jangaroo.jooc.model.DocumentedModel
          extended by net.jangaroo.jooc.model.AbstractTypedModel
              extended by 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
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
 ParamModel duplicate()
           
 boolean equals(Object o)
           
 String getValue()
           
 int hashCode()
           
 boolean isOptional()
           
 boolean isRest()
           
 void setOptional(boolean optional)
           
 void setRest(boolean rest)
           
 void setValue(String value)
           
 void visit(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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamModel

public ParamModel()

ParamModel

public ParamModel(String name,
                  String type)

ParamModel

public ParamModel(String name,
                  String type,
                  String defaultValue)

ParamModel

public ParamModel(String name,
                  String type,
                  String defaultValue,
                  boolean rest)

ParamModel

public ParamModel(String name,
                  String type,
                  String defaultValue,
                  String asdoc)

ParamModel

public ParamModel(String name,
                  String type,
                  String defaultValue,
                  boolean rest,
                  String asdoc)
Method Detail

getValue

public String getValue()
Specified by:
getValue in interface ValuedModel

setValue

public void setValue(String value)
Specified by:
setValue in interface ValuedModel

isRest

public boolean isRest()

setRest

public void setRest(boolean rest)

visit

public void visit(ModelVisitor visitor)
Specified by:
visit in interface ActionScriptModel

isOptional

public boolean isOptional()

setOptional

public void setOptional(boolean optional)

equals

public boolean equals(Object o)
Overrides:
equals in class NamedModel

hashCode

public int hashCode()
Overrides:
hashCode in class NamedModel

duplicate

public ParamModel duplicate()


Copyright © 2002–2014 CoreMedia AG. All rights reserved.