uk.co.badgersinfoil.metaas.dom
Interface ASMember

All Superinterfaces:
Documentable, MetaTagable
All Known Subinterfaces:
ASField, ASMethod

public interface ASMember
extends MetaTagable, Documentable

A member of a type; an ASMethod or ASField.


Method Summary
 java.lang.String getName()
          Returns the name of this field.
 java.lang.String getType()
          Returns the name of the return type of value this ActionScript field may contain, or null if it is untyped.
 Visibility getVisibility()
          Returns a value representing any protection-against-access defined for this ActionScript field.
 boolean isStatic()
          Returns true if this ActionScript field is static (i.e.
 void setName(java.lang.String string)
          Changes the name of this ActionScript field to the given value.
 void setStatic(boolean s)
          Defines this method to be static, or not.
 void setType(java.lang.String string)
          Defines the name of the type of object this ActionScript field may contain.
 void setVisibility(Visibility visibility)
          Defines the level of protection-against-external-access for this ActionScript field.
 
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.MetaTagable
getAllMetaTags, getFirstMetatag, getMetaTagsWithName, newMetaTag
 
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.Documentable
getDocComment, setDocComment
 

Method Detail

getName

java.lang.String getName()
Returns the name of this field.


setName

void setName(java.lang.String string)
Changes the name of this ActionScript field to the given value.


getType

java.lang.String getType()
Returns the name of the return type of value this ActionScript field may contain, or null if it is untyped.


setType

void setType(java.lang.String string)
Defines the name of the type of object this ActionScript field may contain. May be set to null, denoting that the value is untyped.


getVisibility

Visibility getVisibility()
Returns a value representing any protection-against-access defined for this ActionScript field.


setVisibility

void setVisibility(Visibility visibility)
Defines the level of protection-against-external-access for this ActionScript field.


isStatic

boolean isStatic()
Returns true if this ActionScript field is static (i.e. the field definition uses the static keyword).


setStatic

void setStatic(boolean s)
Defines this method to be static, or not. If set to true, this member definition will be qualified with the static keyword, if false, the keyword will be absent.



Copyright © 2006-2007 David Holroyd. All Rights Reserved.