MGCLatticeDmfMappingSourceFieldContract
One field of an entity line's source format (DMFDefinitionGroupEntityXMLFields), as a specification carries it.
Methods
construct
Creates a new instance of the MGCLatticeDmfMappingSourceFieldContract class.
- Visibility:
public - Returns:
MGCLatticeDmfMappingSourceFieldContractA new instance.
No parameters.
parmName
Gets or sets the source field name.
- Visibility:
public - Returns:
strThe name.
| Name | Type | Optional | Description |
|---|---|---|---|
_name | str | Yes | The name. |
parmType
Gets or sets the field type as data management names it, for example String or Enum.
- Visibility:
public - Returns:
strThe type.
| Name | Type | Optional | Description |
|---|---|---|---|
_fieldType | str | Yes | The type. |
parmSize
Gets or sets the field size.
- Visibility:
public - Returns:
intThe size.
| Name | Type | Optional | Description |
|---|---|---|---|
_fieldSize | int | Yes | The size. |
parmPosition
Gets or sets the field's position in the source format.
- Visibility:
public - Returns:
intThe position.
| Name | Type | Optional | Description |
|---|---|---|---|
_position | int | Yes | The position. |
parmMandatory
Gets or sets whether the field is mandatory in the source.
- Visibility:
public - Returns:
booleanWhether the field is mandatory.
| Name | Type | Optional | Description |
|---|---|---|---|
_mandatory | boolean | Yes | Whether the field is mandatory. |
parmDisabled
Gets or sets whether the field is switched off in the source format.
- Visibility:
public - Returns:
booleanWhether the field is disabled.
| Name | Type | Optional | Description |
|---|---|---|---|
_disabled | boolean | Yes | Whether the field is disabled. |
copy
Creates a copy of this field.
- Visibility:
public - Returns:
MGCLatticeDmfMappingSourceFieldContractThe copy.
No parameters.
describe
Describes this field in one line, for a difference report.
- Visibility:
public - Returns:
strThe description.
No parameters.