com.bowstreet.factory.model
Interface SourceModel

All Superinterfaces:
GenerationSource

public interface SourceModel
extends GenerationSource

Author:
szagiebo

Field Summary
static java.lang.String DEPENDS
           
static java.lang.String DEPENDS_CLASS
           
static java.lang.String DEPENDS_PROFILE
           
 
Method Summary
 void addDependency(java.lang.String type, java.lang.String id)
           
 void addExternalModelProperty(java.lang.String propertyName, java.lang.String propertyValue)
           
 void clearProfileSetNames()
           
 java.lang.Object clone()
           
 BuilderCall createBuilderCall(BuilderDef builderDef)
           
 java.util.List getBuilderCallList()
           
 java.util.Iterator getBuilderCalls()
           
 java.util.Set getDependencies()
          Get the things this Source depends on
 java.lang.String getDescription()
           
 java.util.List getDomains()
           
 boolean getEnableFailover()
           
 boolean getEnableGenerationCaching()
           
 long getLastModified()
          Get timedate of last mod
 java.lang.String getModelID()
          Currently, the model IDs correspond exactly to the filename within WEB-INF/models
 com.bowstreet.factory.model.ProfileRemapper getProfileRemapper()
           
 java.util.List getProfileSetNames()
          Get the names of the profile sets that are referenced in this Source
 java.lang.String getReadableName()
          Properties
 java.lang.String getRequiredFactoryVersion()
           
 java.util.List getRoles()
           
 boolean getRuntimeRegenerateFlag()
           
 java.lang.String getUniqueBuilderCallID()
           
 java.lang.String getVersion()
           
 IXml getXml()
           
 boolean isContained()
           
 void retrieveExternalModelProperties(ModelProcessor.QuadrupleGenerator generator, SourceModelManager sourceModelManager)
           
 void setDescription(java.lang.String desc)
           
 void setEnableFailover(boolean b)
           
 void setEnableGenerationCaching(boolean b)
           
 void setIsContained(boolean b)
           
 void setRequiredFactoryVersion(java.lang.String req)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from interface com.bowstreet.generation.GenerationSource
clearModelXml, getProfileSetEntries, getRuntimeProfileSetNames
 

Field Detail

DEPENDS

static final java.lang.String DEPENDS
See Also:
Constant Field Values

DEPENDS_CLASS

static final java.lang.String DEPENDS_CLASS
See Also:
Constant Field Values

DEPENDS_PROFILE

static final java.lang.String DEPENDS_PROFILE
See Also:
Constant Field Values
Method Detail

addDependency

void addDependency(java.lang.String type,
                   java.lang.String id)
Specified by:
addDependency in interface GenerationSource

addExternalModelProperty

void addExternalModelProperty(java.lang.String propertyName,
                              java.lang.String propertyValue)
Specified by:
addExternalModelProperty in interface GenerationSource

clearProfileSetNames

void clearProfileSetNames()
Specified by:
clearProfileSetNames in interface GenerationSource

clone

java.lang.Object clone()

createBuilderCall

BuilderCall createBuilderCall(BuilderDef builderDef)

getBuilderCallList

java.util.List getBuilderCallList()

getBuilderCalls

java.util.Iterator getBuilderCalls()
Specified by:
getBuilderCalls in interface GenerationSource
Returns:
Iterator of a list container com.bowstreet.generation.BuilderCall

getDependencies

java.util.Set getDependencies()
Description copied from interface: GenerationSource
Get the things this Source depends on

Specified by:
getDependencies in interface GenerationSource
Returns:
Set of elements of type com.bowstreet.factory.model.Dependency

getDescription

java.lang.String getDescription()

getDomains

java.util.List getDomains()

getEnableFailover

boolean getEnableFailover()

getEnableGenerationCaching

boolean getEnableGenerationCaching()
Specified by:
getEnableGenerationCaching in interface GenerationSource

getLastModified

long getLastModified()
Get timedate of last mod

Specified by:
getLastModified in interface GenerationSource
Returns:
The date last modified

getModelID

java.lang.String getModelID()
Description copied from interface: GenerationSource
Currently, the model IDs correspond exactly to the filename within WEB-INF/models

Specified by:
getModelID in interface GenerationSource
Returns:
the Model ID

getProfileRemapper

com.bowstreet.factory.model.ProfileRemapper getProfileRemapper()

getProfileSetNames

java.util.List getProfileSetNames()
Description copied from interface: GenerationSource
Get the names of the profile sets that are referenced in this Source

Specified by:
getProfileSetNames in interface GenerationSource
Returns:
list of Strings

getReadableName

java.lang.String getReadableName()
Properties

Specified by:
getReadableName in interface GenerationSource
Returns:
the readable name of this element

getRequiredFactoryVersion

java.lang.String getRequiredFactoryVersion()

getRoles

java.util.List getRoles()

getRuntimeRegenerateFlag

boolean getRuntimeRegenerateFlag()
Specified by:
getRuntimeRegenerateFlag in interface GenerationSource

getUniqueBuilderCallID

java.lang.String getUniqueBuilderCallID()

getVersion

java.lang.String getVersion()

getXml

IXml getXml()

isContained

boolean isContained()

retrieveExternalModelProperties

void retrieveExternalModelProperties(ModelProcessor.QuadrupleGenerator generator,
                                     SourceModelManager sourceModelManager)

setDescription

void setDescription(java.lang.String desc)

setEnableFailover

void setEnableFailover(boolean b)

setEnableGenerationCaching

void setEnableGenerationCaching(boolean b)

setIsContained

void setIsContained(boolean b)

setRequiredFactoryVersion

void setRequiredFactoryVersion(java.lang.String req)

setVersion

void setVersion(java.lang.String version)


Copyright © 2009 IBM. All Rights Reserved.