org.springframework.roo.classpath.converters
Interface LastUsed

All Known Implementing Classes:
LastUsedImpl

public interface LastUsed

Interface for LastUsedImpl.

Since:
1.1
Author:
Ben Alex

Method Summary
 org.springframework.roo.model.JavaPackage getJavaPackage()
           
 org.springframework.roo.model.JavaType getJavaType()
           
 org.springframework.roo.model.JavaPackage getTopLevelPackage()
           
 void setPackage(org.springframework.roo.model.JavaPackage javaPackage)
          Sets the package, and clears the type field.
 void setTopLevelPackage(org.springframework.roo.model.JavaPackage topLevelPackage)
           
 void setType(org.springframework.roo.model.JavaType javaType)
          Sets the type, and also sets the package field.
 void setType(org.springframework.roo.model.JavaType javaType, org.springframework.roo.project.maven.Pom module)
          Sets the last used type and the module to which it belongs
 void setTypeNotVerified(org.springframework.roo.model.JavaType javaType)
          Sets the type, and also sets the package field.
 void setTypeNotVerified(org.springframework.roo.model.JavaType result, org.springframework.roo.project.maven.Pom module)
          Sets the last used type and the module to which it belongs not verified
 

Method Detail

getJavaPackage

org.springframework.roo.model.JavaPackage getJavaPackage()
Returns:
the package, either explicitly set or via a type set (may also be null if never set)

getJavaType

org.springframework.roo.model.JavaType getJavaType()
Returns:
the type or null

getTopLevelPackage

org.springframework.roo.model.JavaPackage getTopLevelPackage()

setPackage

void setPackage(org.springframework.roo.model.JavaPackage javaPackage)
Sets the package, and clears the type field. Ignores attempts to set to java.*.


setTopLevelPackage

void setTopLevelPackage(org.springframework.roo.model.JavaPackage topLevelPackage)

setType

void setType(org.springframework.roo.model.JavaType javaType)
Sets the type, and also sets the package field. Ignores attempts to set to java.*.


setTypeNotVerified

void setTypeNotVerified(org.springframework.roo.model.JavaType javaType)
Sets the type, and also sets the package field. Ignores attempts to set to java.*. But with not verified


setType

void setType(org.springframework.roo.model.JavaType javaType,
             org.springframework.roo.project.maven.Pom module)
Sets the last used type and the module to which it belongs

Parameters:
javaType -
module -

setTypeNotVerified

void setTypeNotVerified(org.springframework.roo.model.JavaType result,
                        org.springframework.roo.project.maven.Pom module)
Sets the last used type and the module to which it belongs not verified

Parameters:
result -
module -


Copyright © 2009–2015. All rights reserved.