|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.makumba.providers.datadefinition.makumba.MakumbaDataDefinitionFactory
public class MakumbaDataDefinitionFactory
This class is the Makumba implementation of a data definition provider, based on MDD files.
TODO refactor together with RecordInfo to build objects (and not use static methods)
| Constructor Summary | |
|---|---|
MakumbaDataDefinitionFactory()
|
|
| Method Summary | |
|---|---|
DataDefinition |
getDataDefinition(String typeName)
Gets the data definition defined by the given type. |
Vector<String> |
getDataDefinitionsInDefaultLocations()
gives a list of data definitions in the default locations of the data definition provider |
Vector<String> |
getDataDefinitionsInDefaultLocations(String... ignoreList)
gives a list of data definitions in the default locations of the data definition provider, ignoring those MDDs that start with any of the strings in the ignoreList |
Vector<String> |
getDataDefinitionsInLocation(String location)
gives a list of data definitions in a given location |
DataDefinition |
getVirtualDataDefinition(String name)
Gets a virtual data definition |
FieldDefinition |
makeFieldDefinition(String name,
String definition)
makes a field definition from the indicated string FIXME this is particular to mdds |
FieldDefinition |
makeFieldOfType(String name,
String type)
makes a field definition with the elementary type |
FieldDefinition |
makeFieldOfType(String name,
String type,
String description)
makes a field definition identical with the given one, except for the name |
FieldDefinition |
makeFieldWithName(String name,
FieldDefinition type)
makes a field definition with the elementary type |
FieldDefinition |
makeFieldWithName(String name,
FieldDefinition type,
String description)
makes a field definition identical with the given one, except for the name and the description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MakumbaDataDefinitionFactory()
| Method Detail |
|---|
public DataDefinition getDataDefinition(String typeName)
DataDefinitionProviderInterface
getDataDefinition in interface DataDefinitionProviderInterfacepublic DataDefinition getVirtualDataDefinition(String name)
DataDefinitionProviderInterface
getVirtualDataDefinition in interface DataDefinitionProviderInterfacename - the name of the virtual data definition
public FieldDefinition makeFieldDefinition(String name,
String definition)
DataDefinitionProviderInterface
makeFieldDefinition in interface DataDefinitionProviderInterfacename - the name of the fielddefinition - the definition string
public FieldDefinition makeFieldOfType(String name,
String type)
DataDefinitionProviderInterface
makeFieldOfType in interface DataDefinitionProviderInterfacename - the name of the fieldtype - the type of the field
public FieldDefinition makeFieldOfType(String name,
String type,
String description)
DataDefinitionProviderInterface
makeFieldOfType in interface DataDefinitionProviderInterfacename - the name of the fieldtype - the FieldDefinition used as model
public FieldDefinition makeFieldWithName(String name,
FieldDefinition type)
DataDefinitionProviderInterface
makeFieldWithName in interface DataDefinitionProviderInterfacename - the name of the fieldtype - the elementary type of the field
public FieldDefinition makeFieldWithName(String name,
FieldDefinition type,
String description)
DataDefinitionProviderInterface
makeFieldWithName in interface DataDefinitionProviderInterfacename - the name of the fieldtype - the FieldDefinition used as modeldescription - the description of the field
public Vector<String> getDataDefinitionsInLocation(String location)
DataDefinitionProviderInterface
getDataDefinitionsInLocation in interface DataDefinitionProviderInterfacelocation - the location where the data definitions should be
public Vector<String> getDataDefinitionsInDefaultLocations()
DataDefinitionProviderInterface
getDataDefinitionsInDefaultLocations in interface DataDefinitionProviderInterfacepublic Vector<String> getDataDefinitionsInDefaultLocations(String... ignoreList)
DataDefinitionProviderInterface
getDataDefinitionsInDefaultLocations in interface DataDefinitionProviderInterfaceignoreList - a list of prefixes for MDDs to be ignored
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||