public static final class TLcyDrawingDataModelDescriptor.Builder extends Object
TLcyDrawingDataModelDescriptor
instances.
See the class javadoc of TLcyDrawingDataModelDescriptor
for a code snippet on how to use
this builder.Modifier and Type | Method and Description |
---|---|
TLcyDrawingDataModelDescriptor.Builder |
addBooleanProperty(String aPropertyName)
Adds a
boolean property to the data model of the
TLcyDrawingDataModelDescriptor under construction. |
TLcyDrawingDataModelDescriptor.Builder |
addDateProperty(String aPropertyName)
Adds a
date property to the data model of the
TLcyDrawingDataModelDescriptor under construction. |
TLcyDrawingDataModelDescriptor.Builder |
addDoubleProperty(String aPropertyName)
Adds a
double property to the data model of the
TLcyDrawingDataModelDescriptor under construction. |
TLcyDrawingDataModelDescriptor.Builder |
addIntegerProperty(String aPropertyName)
Adds a
integer property to the data model of the
TLcyDrawingDataModelDescriptor under construction. |
TLcyDrawingDataModelDescriptor.Builder |
addStringProperty(String aPropertyName)
Adds a
string property to the data model of the
TLcyDrawingDataModelDescriptor under construction. |
TLcyDrawingDataModelDescriptor |
build()
Builds the model descriptor.
|
TLcyDrawingDataModelDescriptor.Builder |
dataModelName(String aDataModelName)
Sets the name for the data model
|
TLcyDrawingDataModelDescriptor.Builder |
displayName(String aDisplayName)
Sets the display name for the model descriptor under construction
|
static TLcyDrawingDataModelDescriptor.Builder |
newInstance()
Creates a new builder instance
|
TLcyDrawingDataModelDescriptor.Builder |
sourceName(String aSourceName)
Sets the source name for the model descriptor under construction
|
TLcyDrawingDataModelDescriptor.Builder |
styleRepository(TLcyDrawingStyleRepository aStyleRepository)
Sets the repository containing the SLD styles which can be used by the domain objects.
|
public TLcyDrawingDataModelDescriptor.Builder styleRepository(TLcyDrawingStyleRepository aStyleRepository)
aStyleRepository
- Repository containing SLD styles which can be used by the domain
objectspublic TLcyDrawingDataModelDescriptor.Builder addBooleanProperty(String aPropertyName)
boolean property
to the data model of the
TLcyDrawingDataModelDescriptor
under construction.aPropertyName
- The name of the propertypublic TLcyDrawingDataModelDescriptor.Builder addIntegerProperty(String aPropertyName)
integer property
to the data model of the
TLcyDrawingDataModelDescriptor
under construction.aPropertyName
- The name of the propertypublic TLcyDrawingDataModelDescriptor.Builder addDoubleProperty(String aPropertyName)
double property
to the data model of the
TLcyDrawingDataModelDescriptor
under construction.aPropertyName
- The name of the propertypublic TLcyDrawingDataModelDescriptor.Builder addStringProperty(String aPropertyName)
string property
to the data model of the
TLcyDrawingDataModelDescriptor
under construction.aPropertyName
- The name of the propertypublic TLcyDrawingDataModelDescriptor.Builder addDateProperty(String aPropertyName)
date property
to the data model of the
TLcyDrawingDataModelDescriptor
under construction.aPropertyName
- The name of the propertypublic TLcyDrawingDataModelDescriptor.Builder sourceName(String aSourceName)
aSourceName
- The source nameILcdModelDescriptor.getSourceName()
public TLcyDrawingDataModelDescriptor.Builder displayName(String aDisplayName)
aDisplayName
- The display nameILcdModelDescriptor.getDisplayName()
public TLcyDrawingDataModelDescriptor.Builder dataModelName(String aDataModelName)
aDataModelName
- The name for the data modelTLcdDataModel.getName()
public TLcyDrawingDataModelDescriptor build()
public static TLcyDrawingDataModelDescriptor.Builder newInstance()