Package net.jangaroo.jooc.model
Class ReturnModel
- java.lang.Object
-
- net.jangaroo.jooc.model.NamedModel
-
- net.jangaroo.jooc.model.DocumentedModel
-
- net.jangaroo.jooc.model.ReturnModel
-
- All Implemented Interfaces:
ActionScriptModel,TypedModel
public class ReturnModel extends DocumentedModel implements TypedModel
Represents the return type and description of a method.
-
-
Constructor Summary
Constructors Constructor Description ReturnModel(MethodModel method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetType()inthashCode()voidsetType(String type)voidvisit(ModelVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.model.DocumentedModel
getAsdoc, setAsdoc
-
Methods inherited from class net.jangaroo.jooc.model.NamedModel
getName, setName
-
-
-
-
Constructor Detail
-
ReturnModel
public ReturnModel(MethodModel method)
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein interfaceTypedModel
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceTypedModel
-
visit
public void visit(ModelVisitor visitor)
- Specified by:
visitin interfaceActionScriptModel
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classNamedModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classNamedModel
-
-