org.springframework.roo.classpath
Interface PhysicalTypeDetails
- All Superinterfaces:
- org.springframework.roo.model.CustomDataAccessor
- All Known Subinterfaces:
- ClassOrInterfaceTypeDetails, ItdTypeDetails, MemberHoldingTypeDetails
- All Known Implementing Classes:
- AbstractMemberHoldingTypeDetails, DefaultClassOrInterfaceTypeDetails, DefaultItdTypeDetails, DefaultPhysicalTypeDetails
public interface PhysicalTypeDetails
- extends org.springframework.roo.model.CustomDataAccessor
Provides details of the actual type presented by a
PhysicalTypeMetadata instance.
Sub-interfaces are created for different major Java types, such as those
specific to classes, enums, and annotations. This allows sub-interfaces to
provide accessors applicable to the specific category of Java type.
- Since:
- 1.0
- Author:
- Ben Alex
| Methods inherited from interface org.springframework.roo.model.CustomDataAccessor |
getCustomData |
getName
org.springframework.roo.model.JavaType getName()
- See Also:
#getType(), which returns the same thing but is better named
getPhysicalTypeCategory
PhysicalTypeCategory getPhysicalTypeCategory()
- Returns:
- the category of Java type being provided by this
PhysicalTypeDetails instance (never null)
getType
org.springframework.roo.model.JavaType getType()
- Returns the
JavaType provided by this physical type. If possible,
indicates any type parameters.
- Returns:
- the full name of the type that members will eventually be
available from when compiled, including any available type
parameters (may be null if unable to parse)
- Since:
- 1.2.0
Copyright © 2009–2015. All rights reserved.