org.gvnix.flex.as.classpath.details
Class DefaultASFieldMetadata

java.lang.Object
  extended by org.gvnix.flex.as.classpath.details.AbstractASFieldMetadata
      extended by org.gvnix.flex.as.classpath.details.DefaultASFieldMetadata
All Implemented Interfaces:
ASFieldMetadata, ASIdentifiableMember

public class DefaultASFieldMetadata
extends AbstractASFieldMetadata

Default metadata representation of an ActionScript field.

Author:
Jeremy Grelle

Constructor Summary
DefaultASFieldMetadata(String declaredByMetadataId, ActionScriptType fieldType, ActionScriptSymbolName fieldName, ASTypeVisibility visibility, String fieldInitializer, List<ASMetaTagMetadata> metaTags)
           
 
Method Summary
 String getDeclaredByMetadataId()
           
 String getFieldInitializer()
           
 ActionScriptSymbolName getFieldName()
           
 ActionScriptType getFieldType()
           
 List<ASMetaTagMetadata> getMetaTags()
           
 ASTypeVisibility getVisibility()
          Indicates the visibility of the member.
 
Methods inherited from class org.gvnix.flex.as.classpath.details.AbstractASFieldMetadata
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultASFieldMetadata

public DefaultASFieldMetadata(String declaredByMetadataId,
                              ActionScriptType fieldType,
                              ActionScriptSymbolName fieldName,
                              ASTypeVisibility visibility,
                              String fieldInitializer,
                              List<ASMetaTagMetadata> metaTags)
Method Detail

getDeclaredByMetadataId

public String getDeclaredByMetadataId()
Specified by:
getDeclaredByMetadataId in interface ASIdentifiableMember
Specified by:
getDeclaredByMetadataId in class AbstractASFieldMetadata
Returns:
the ID of the metadata that declared this member (never null)

getFieldType

public ActionScriptType getFieldType()

getFieldName

public ActionScriptSymbolName getFieldName()
Specified by:
getFieldName in interface ASFieldMetadata
Specified by:
getFieldName in class AbstractASFieldMetadata

getVisibility

public ASTypeVisibility getVisibility()
Description copied from interface: ASIdentifiableMember
Indicates the visibility of the member.

Returns:
the visibility, if available (required)

getMetaTags

public List<ASMetaTagMetadata> getMetaTags()

getFieldInitializer

public String getFieldInitializer()


Copyright © 2010–2015 Conselleria d'Infraestructures i Transport - Generalitat Valenciana. All rights reserved.