net.jangaroo.jooc.model
Class MemberModel

java.lang.Object
  extended by net.jangaroo.jooc.model.NamedModel
      extended by net.jangaroo.jooc.model.DocumentedModel
          extended by net.jangaroo.jooc.model.AbstractAnnotatedModel
              extended by 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
protected MemberModel()
           
protected MemberModel(String name)
           
protected MemberModel(String name, String type)
           
 
Method Summary
 boolean equals(Object o)
           
 String getNamespace()
           
 String getType()
           
 int hashCode()
           
 boolean isAccessor()
           
 boolean isField()
           
 boolean isGetter()
           
 boolean isMethod()
           
 boolean isProperty()
           
 boolean isSetter()
           
 boolean isStatic()
           
 void setNamespace(String namespace)
           
 void setStatic(boolean aStatic)
           
 void setType(String type)
           
 
Methods inherited from class net.jangaroo.jooc.model.AbstractAnnotatedModel
addAnnotation, 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
 

Constructor Detail

MemberModel

protected MemberModel()

MemberModel

protected MemberModel(String name)

MemberModel

protected MemberModel(String name,
                      String type)
Method Detail

isStatic

public boolean isStatic()

setStatic

public void setStatic(boolean aStatic)

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface NamespacedModel

setNamespace

public void setNamespace(String namespace)
Specified by:
setNamespace in interface NamespacedModel

getType

public String getType()
Specified by:
getType in interface TypedModel

setType

public void setType(String type)
Specified by:
setType in interface TypedModel

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:
equals in class NamedModel

hashCode

public int hashCode()
Overrides:
hashCode in class NamedModel


Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.