org.springframework.roo.classpath.itd
Class ItdSourceFileComposer

java.lang.Object
  extended by org.springframework.roo.classpath.itd.ItdSourceFileComposer

public class ItdSourceFileComposer
extends Object

A simple way of producing an inter-type declaration source file.

Since:
1.0
Author:
Ben Alex, Stefan Schmidt

Constructor Summary
ItdSourceFileComposer(ItdTypeDetails itdTypeDetails)
          Constructs an ItdSourceFileComposer containing the members that were requested in the passed object.
 
Method Summary
 String getOutput()
           
 boolean isContent()
          Indicates whether any content was added to the ITD, aside from the formal ITD declaration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItdSourceFileComposer

public ItdSourceFileComposer(ItdTypeDetails itdTypeDetails)
Constructs an ItdSourceFileComposer containing the members that were requested in the passed object.

Parameters:
itdTypeDetails - to construct (required)
Method Detail

getOutput

public String getOutput()

isContent

public boolean isContent()
Indicates whether any content was added to the ITD, aside from the formal ITD declaration.

Returns:
true if there is actual content in the ITD, false otherwise


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