|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.roo.classpath.persistence.PersistenceMemberLocatorImpl
@Service public class PersistenceMemberLocatorImpl
This implementation of PersistenceMemberLocator scans for the
presence of persistence ID tags for MemberDetails for a given domain
type.
| Constructor Summary | |
|---|---|
PersistenceMemberLocatorImpl()
|
|
| Method Summary | |
|---|---|
List<FieldMetadata> |
getEmbeddedIdentifierFields(org.springframework.roo.model.JavaType domainType)
Locates embedded identifier types for a given domain type. |
MethodMetadata |
getIdentifierAccessor(org.springframework.roo.model.JavaType domainType)
Returns the ID accessor for the given domain type |
List<FieldMetadata> |
getIdentifierFields(org.springframework.roo.model.JavaType domainType)
Returns the identifier fields of the given domain type. |
org.springframework.roo.model.JavaType |
getIdentifierType(org.springframework.roo.model.JavaType domainType)
Returns the identifier type of the given domain type. |
MethodMetadata |
getVersionAccessor(org.springframework.roo.model.JavaType domainType)
Returns the version accessor for the given domain type. |
FieldMetadata |
getVersionField(org.springframework.roo.model.JavaType domainType)
Locates the version field for a given domain type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceMemberLocatorImpl()
| Method Detail |
|---|
public List<FieldMetadata> getEmbeddedIdentifierFields(org.springframework.roo.model.JavaType domainType)
PersistenceMemberLocator
getEmbeddedIdentifierFields in interface PersistenceMemberLocatordomainType - The domain type (needs to be part of the project)
public MethodMetadata getIdentifierAccessor(org.springframework.roo.model.JavaType domainType)
PersistenceMemberLocator
getIdentifierAccessor in interface PersistenceMemberLocatordomainType - the domain type (can be null)
null if the given type is null or does
not have an ID accessorpublic List<FieldMetadata> getIdentifierFields(org.springframework.roo.model.JavaType domainType)
PersistenceMemberLocator
getIdentifierFields in interface PersistenceMemberLocatordomainType - The domain type (can be null)
public org.springframework.roo.model.JavaType getIdentifierType(org.springframework.roo.model.JavaType domainType)
PersistenceMemberLocator
getIdentifierType in interface PersistenceMemberLocatordomainType - The domain type (can be null)
public MethodMetadata getVersionAccessor(org.springframework.roo.model.JavaType domainType)
PersistenceMemberLocator
getVersionAccessor in interface PersistenceMemberLocatordomainType - the domain type (can be null)
null if the given type is null or does
not have a version accessorpublic FieldMetadata getVersionField(org.springframework.roo.model.JavaType domainType)
PersistenceMemberLocator
getVersionField in interface PersistenceMemberLocatordomainType - The domain type (needs to be part of the project)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||