MGCLatticeDmfProjectSpecContract
One data project and its entity lines, as a specification file carries it.
Methods
new
Initializes a new instance of the MGCLatticeDmfProjectSpecContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeDmfProjectSpecContract class.
- Visibility:
public - Returns:
MGCLatticeDmfProjectSpecContractA new instance.
No parameters.
parmName
Gets or sets the data project's name, which is its key.
- Visibility:
public - Returns:
strThe project name.
| Name | Type | Optional | Description |
|---|---|---|---|
_name | str | Yes | The project name. |
parmDescription
Gets or sets the project description.
- Visibility:
public - Returns:
strThe description.
| Name | Type | Optional | Description |
|---|---|---|---|
_description | str | Yes | The description. |
parmOperationType
Gets or sets whether the project imports or exports, as an element name.
- Visibility:
public - Returns:
strThe operation type name.
| Name | Type | Optional | Description |
|---|---|---|---|
_operationType | str | Yes | The operation type name, for example Import. |
operationTypeValue
Gets the operation type as the enumeration the platform stores.
- Visibility:
public - Returns:
DMFOperationTypeThe operation type.
No parameters.
parmGenerateDataPackage
Gets or sets whether an export writes a data package.
- Visibility:
public - Returns:
booleanWhether a package is generated.
| Name | Type | Optional | Description |
|---|---|---|---|
_generateDataPackage | boolean | Yes | Whether a package is generated. |
parmTruncateEntityData
Gets or sets whether an import empties the target before loading.
- Visibility:
public - Returns:
booleanWhether the target is truncated.
| Name | Type | Optional | Description |
|---|---|---|---|
_truncateEntityData | boolean | Yes | Whether the target is truncated. |
parmEntities
Gets or sets the project's entity lines.
- Visibility:
public - Returns:
ListThe lines.
| Name | Type | Optional | Description |
|---|---|---|---|
_entities | List | Yes | The lines. |
addEntity
Adds an entity line to the project.
- Visibility:
public - Returns:
void
| Name | Type | Optional | Description |
|---|---|---|---|
_entity | MGCLatticeDmfProjectEntitySpecContract | No | The line. |