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.
 

Method Detail

setPackage

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


setType

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


getTopLevelPackage

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

setTopLevelPackage

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

getJavaType

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

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)


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.