Package net.jangaroo.jooc.model
Class MemberModel
- java.lang.Object
-
- net.jangaroo.jooc.model.NamedModel
-
- net.jangaroo.jooc.model.DocumentedModel
-
- net.jangaroo.jooc.model.AbstractAnnotatedModel
-
- net.jangaroo.jooc.model.MemberModel
-
- All Implemented Interfaces:
ActionScriptModel,AnnotatedModel,NamespacedModel,TypedModel
- Direct Known Subclasses:
FieldModel,MethodModel,PropertyModel
public abstract class MemberModel extends AbstractAnnotatedModel implements NamespacedModel, TypedModel
An abstract base class for members of an ActionScript class or interface.
-
-
Field Summary
-
Fields inherited from interface net.jangaroo.jooc.model.NamespacedModel
INTERNAL, PRIVATE, PROTECTED, PUBLIC
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMemberModel()protectedMemberModel(String name)protectedMemberModel(String name, String type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetNamespace()StringgetType()inthashCode()booleanisAccessor()booleanisField()booleanisGetter()booleanisMethod()booleanisProperty()abstract booleanisReadable()booleanisSetter()booleanisStatic()abstract booleanisWritable()voidsetNamespace(String namespace)voidsetStatic(boolean aStatic)voidsetType(String type)-
Methods inherited from class net.jangaroo.jooc.model.AbstractAnnotatedModel
addAnnotation, getAnnotations, getAnnotations, setAnnotations
-
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
-
Methods inherited from interface net.jangaroo.jooc.model.ActionScriptModel
visit
-
-
-
-
Method Detail
-
isStatic
public boolean isStatic()
-
setStatic
public void setStatic(boolean aStatic)
-
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfaceNamespacedModel
-
setNamespace
public void setNamespace(String namespace)
- Specified by:
setNamespacein interfaceNamespacedModel
-
getType
public String getType()
- Specified by:
getTypein interfaceTypedModel
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceTypedModel
-
isReadable
public abstract boolean isReadable()
-
isWritable
public abstract boolean isWritable()
-
isMethod
public boolean isMethod()
-
isAccessor
public boolean isAccessor()
-
isGetter
public boolean isGetter()
-
isSetter
public boolean isSetter()
-
isField
public boolean isField()
-
isProperty
public boolean isProperty()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classNamedModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classNamedModel
-
-