| Modifier and Type | Method and Description |
|---|---|
void |
TypeManagementServiceImpl.addField(FieldMetadata field) |
void |
TypeManagementService.addField(FieldMetadata field)
Adds a new field to an existing class.
|
void |
TypeManagementServiceImpl.addField(FieldMetadata field,
boolean evict) |
void |
TypeManagementService.addField(FieldMetadata field,
boolean evict)
Adds a new field to an existing class.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.roo.model.CustomDataKey<FieldMetadata> |
FieldMatcher.getCustomDataKey() |
List<FieldMetadata> |
FieldMatcher.matches(List<MemberHoldingTypeDetails> memberHoldingTypeDetailsList) |
| Modifier and Type | Method and Description |
|---|---|
Object |
FieldMatcher.getTagValue(FieldMetadata field) |
| Constructor and Description |
|---|
FieldMatcher(org.springframework.roo.model.CustomDataKey<FieldMetadata> customDataKey,
AnnotationMetadata... annotations)
Constructor for matching on any of the given annotations
|
FieldMatcher(org.springframework.roo.model.CustomDataKey<FieldMetadata> customDataKey,
Collection<AnnotationMetadata> annotations)
Constructor for matching on any of the given annotations
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FieldMetadataCustomDataKey.meets(FieldMetadata field) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultFieldMetadata
Default implementation of
FieldMetadata. |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<FieldMetadata> |
FieldMetadata.COMPARATOR_BY_NAME |
| Modifier and Type | Method and Description |
|---|---|
FieldMetadata |
FieldMetadataBuilder.build() |
FieldMetadata |
MemberHoldingTypeDetails.getDeclaredField(org.springframework.roo.model.JavaSymbolName fieldName)
Locates the specified field.
|
FieldMetadata |
AbstractMemberHoldingTypeDetails.getDeclaredField(org.springframework.roo.model.JavaSymbolName fieldName) |
static FieldMetadata |
MemberFindingUtils.getDeclaredField(MemberHoldingTypeDetails memberHoldingTypeDetails,
org.springframework.roo.model.JavaSymbolName fieldName)
Deprecated.
|
FieldMetadata |
DeclaredFieldAnnotationDetails.getField() |
FieldMetadata |
MemberHoldingTypeDetails.getField(org.springframework.roo.model.JavaSymbolName fieldName)
Searches up the inheritance hierarchy until the first field with the
specified name is located.
|
FieldMetadata |
AbstractMemberHoldingTypeDetails.getField(org.springframework.roo.model.JavaSymbolName fieldName) |
static FieldMetadata |
MemberFindingUtils.getField(MemberHoldingTypeDetails memberHoldingTypeDetails,
org.springframework.roo.model.JavaSymbolName fieldName)
Deprecated.
|
static FieldMetadata |
BeanInfoUtils.getFieldForJavaBeanMethod(MemberDetails memberDetails,
MethodMetadata method)
Attempts to locate the field which is represented by the presented java
bean method.
|
static FieldMetadata |
BeanInfoUtils.getFieldForPropertyName(MemberDetails memberDetails,
org.springframework.roo.model.JavaSymbolName propertyName)
Attempts to locate the field which is represented by the presented
property name.
|
| Modifier and Type | Method and Description |
|---|---|
List<FieldMetadata> |
AbstractMemberHoldingTypeDetailsBuilder.buildFields() |
List<? extends FieldMetadata> |
DefaultClassOrInterfaceTypeDetails.getDeclaredFields() |
List<? extends FieldMetadata> |
MemberHoldingTypeDetails.getDeclaredFields() |
List<FieldMetadata> |
DefaultItdTypeDetails.getDeclaredFields() |
static List<FieldMetadata> |
MemberFindingUtils.getFields(MemberDetails memberDetails)
Deprecated.
use
MemberDetails.getFields() instead |
List<FieldMetadata> |
MemberHoldingTypeDetails.getFieldsWithAnnotation(org.springframework.roo.model.JavaType annotation)
Searches up the inheritance hierarchy and locates all declared fields
which are annotated with the specified annotation.
|
List<FieldMetadata> |
AbstractMemberHoldingTypeDetails.getFieldsWithAnnotation(org.springframework.roo.model.JavaType annotation) |
static List<FieldMetadata> |
MemberFindingUtils.getFieldsWithAnnotation(MemberHoldingTypeDetails memberHoldingTypeDetails,
org.springframework.roo.model.JavaType annotation)
Deprecated.
|
static List<FieldMetadata> |
MemberFindingUtils.getFieldsWithTag(MemberDetails memberDetails,
Object tagKey)
Returns all fields within the given
MemberDetails that contain
the given CustomData tag. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractMemberHoldingTypeDetailsBuilder.addField(FieldMetadata field) |
static org.springframework.roo.model.JavaSymbolName |
BeanInfoUtils.getAccessorMethodName(FieldMetadata field)
Returns the accessor name for the given field.
|
static org.springframework.roo.model.JavaSymbolName |
BeanInfoUtils.getMutatorMethodName(FieldMetadata field)
Returns the mutator name for the given field.
|
static boolean |
BeanInfoUtils.hasAccessorAndMutator(FieldMetadata field,
MemberDetails memberDetails)
Attempts to locate an accessor and a mutator method for a given field.
|
| Constructor and Description |
|---|
DeclaredFieldAnnotationDetails(FieldMetadata field,
AnnotationMetadata fieldAnnotation)
Overloaded constructor which is used in the most typical case of ADDING
an annotation to a field, not removing one.
|
DeclaredFieldAnnotationDetails(FieldMetadata field,
AnnotationMetadata fieldAnnotation,
boolean removeAnnotation)
Constructor must contain
FieldMetadata of existing field (may
already contain field annotations) and a list of new Annotations which
should be introduced by an AspectJ ITD. |
FieldMetadataBuilder(FieldMetadata existing) |
FieldMetadataBuilder(String declaredbyMetadataId,
FieldMetadata existing) |
| Constructor and Description |
|---|
DefaultClassOrInterfaceTypeDetails(org.springframework.roo.model.CustomData customData,
String declaredByMetadataId,
int modifier,
List<AnnotationMetadata> annotations,
org.springframework.roo.model.JavaType name,
PhysicalTypeCategory physicalTypeCategory,
List<ConstructorMetadata> declaredConstructors,
List<FieldMetadata> declaredFields,
List<MethodMetadata> declaredMethods,
List<ClassOrInterfaceTypeDetails> declaredInnerTypes,
List<InitializerMetadata> declaredInitializers,
ClassOrInterfaceTypeDetails superclass,
List<org.springframework.roo.model.JavaType> extendsTypes,
List<org.springframework.roo.model.JavaType> implementsTypes,
List<org.springframework.roo.model.JavaSymbolName> enumConstants,
Collection<ImportMetadata> registeredImports)
Constructor is package protected to mandate the use of
ClassOrInterfaceTypeDetailsBuilder |
| Modifier and Type | Method and Description |
|---|---|
protected MethodMetadataBuilder |
AbstractItdTypeDetailsProvidingMetadataItem.getAccessorMethod(FieldMetadata field) |
protected MethodMetadataBuilder |
AbstractItdTypeDetailsProvidingMetadataItem.getAccessorMethod(FieldMetadata field,
InvocableMemberBodyBuilder bodyBuilder) |
| Modifier and Type | Method and Description |
|---|---|
FieldMetadata |
MemberTypeAdditions.getInvokedField()
Returns the field on which this method is invoked
|
| Modifier and Type | Method and Description |
|---|---|
FieldMetadata |
PersistenceMemberLocatorImpl.getVersionField(org.springframework.roo.model.JavaType domainType) |
FieldMetadata |
PersistenceMemberLocator.getVersionField(org.springframework.roo.model.JavaType domainType)
Locates the version field for a given domain type.
|
| Modifier and Type | Method and Description |
|---|---|
List<FieldMetadata> |
PersistenceMemberLocatorImpl.getEmbeddedIdentifierFields(org.springframework.roo.model.JavaType domainType) |
List<FieldMetadata> |
PersistenceMemberLocator.getEmbeddedIdentifierFields(org.springframework.roo.model.JavaType domainType)
Locates embedded identifier types for a given domain type.
|
List<FieldMetadata> |
PersistenceMemberLocatorImpl.getIdentifierFields(org.springframework.roo.model.JavaType domainType) |
List<FieldMetadata> |
PersistenceMemberLocator.getIdentifierFields(org.springframework.roo.model.JavaType domainType)
Returns the identifier fields of the given domain type.
|
| Modifier and Type | Method and Description |
|---|---|
List<FieldMetadata> |
MemberDetails.getFields()
Searches all
MemberHoldingTypeDetails and returns all fields. |
List<FieldMetadata> |
MemberDetailsImpl.getFields() |
Copyright © 2009–2016. All rights reserved.