org.springframework.roo.classpath.details
Interface IdentifiableJavaStructure

All Superinterfaces:
org.springframework.roo.model.CustomDataAccessor
All Known Subinterfaces:
ClassOrInterfaceTypeDetails, ConstructorMetadata, FieldMetadata, IdentifiableAnnotatedJavaStructure, ImportMetadata, InitializerMetadata, InvocableMemberMetadata, ItdTypeDetails, MemberHoldingTypeDetails, MethodMetadata
All Known Implementing Classes:
AbstractIdentifiableAnnotatedJavaStructureProvider, AbstractIdentifiableJavaStructureProvider, AbstractInvocableMemberMetadata, AbstractMemberHoldingTypeDetails, DefaultClassOrInterfaceTypeDetails, DefaultConstructorMetadata, DefaultFieldMetadata, DefaultImportMetadata, DefaultInitializerMetadata, DefaultItdTypeDetails, DefaultMethodMetadata

public interface IdentifiableJavaStructure
extends org.springframework.roo.model.CustomDataAccessor

Allows an identifiable Java structure (ie a member or a type) to be traced back to its declaring type.

Since:
1.0
Author:
Ben Alex

Method Summary
 String getDeclaredByMetadataId()
           
 int getModifier()
          Indicates the access modifier of the member.
 
Methods inherited from interface org.springframework.roo.model.CustomDataAccessor
getCustomData
 

Method Detail

getDeclaredByMetadataId

String getDeclaredByMetadataId()
Returns:
the ID of the metadata that declared this member (never null)

getModifier

int getModifier()
Indicates the access modifier of the member. The integer is formatted in accordance with Modifier. Returning 0 is acceptable the less common structures that don't support modifiers (eg static initializers).

Returns:
the modifier, if available (required)


Copyright © 2009–2015. All rights reserved.