com.bowstreet.generation
Interface GenerationSource

All Known Subinterfaces:
SourceModel

public interface GenerationSource

GenerationSource represents an object that a Generation can be run on, currently a Model.


Method Summary
 void addDependency(java.lang.String type, java.lang.String id)
           
 void addExternalModelProperty(java.lang.String propertyName, java.lang.String propertyValue)
           
 void clearModelXml()
           
 void clearProfileSetNames()
           
 java.util.Iterator getBuilderCalls()
           
 java.util.Set getDependencies()
          Get the things this Source depends on
 boolean getEnableGenerationCaching()
           
 long getLastModified()
          The date last modified
 java.lang.String getModelID()
          Currently, the model IDs correspond exactly to the filename within WEB-INF/models
 com.bowstreet.util.MapOfLists getProfileSetEntries()
          Gets the name of the profile entries for each ProfileSet used in this model
 java.util.List getProfileSetNames()
          Get the names of the profile sets that are referenced in this Source
 java.lang.String getReadableName()
           
 java.util.List getRuntimeProfileSetNames()
          Gets a List of all of the ProfileSet names used for pure runtime.
 boolean getRuntimeRegenerateFlag()
           
 

Method Detail

addDependency

void addDependency(java.lang.String type,
                   java.lang.String id)

addExternalModelProperty

void addExternalModelProperty(java.lang.String propertyName,
                              java.lang.String propertyValue)

clearModelXml

void clearModelXml()

clearProfileSetNames

void clearProfileSetNames()

getBuilderCalls

java.util.Iterator getBuilderCalls()
Returns:
Iterator of a list container com.bowstreet.generation.BuilderCall

getDependencies

java.util.Set getDependencies()
Get the things this Source depends on

Returns:
Set of elements of type com.bowstreet.factory.model.Dependency

getEnableGenerationCaching

boolean getEnableGenerationCaching()

getLastModified

long getLastModified()
The date last modified

Returns:
The date last modified

getModelID

java.lang.String getModelID()
Currently, the model IDs correspond exactly to the filename within WEB-INF/models

Returns:
the Model ID

getProfileSetEntries

com.bowstreet.util.MapOfLists getProfileSetEntries()
Gets the name of the profile entries for each ProfileSet used in this model

Returns:
A MapOfLists where the key is the profile set name and the value is a list of profile def entry names.

getProfileSetNames

java.util.List getProfileSetNames()
Get the names of the profile sets that are referenced in this Source

Returns:
list of Strings

getReadableName

java.lang.String getReadableName()
Returns:
the readable name of this element

getRuntimeProfileSetNames

java.util.List getRuntimeProfileSetNames()
Gets a List of all of the ProfileSet names used for pure runtime.

Returns:
The List of ProfileSet names where that are pure runtime.

getRuntimeRegenerateFlag

boolean getRuntimeRegenerateFlag()


Copyright © 2009 IBM. All Rights Reserved.