ArticleMapping Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
appendGeneratedCode boolean  
codeChanged boolean  
auditable Auditable  
auditableFields array of AuditableFieldHistory  
descriptionAndCode string  
parentEntityType object  
description string max size: 255, min size: 0
descriptionOrCode string  
code string required, max size: 255, min size: 1
id number  
referenceCode string  
transient boolean  
notified boolean  
mappingScript ScriptInstance  
referenceDescription string  
parentEntity BusinessEntity  
historized boolean  
version number  

Example

{
  "appendGeneratedCode" : true,
  "codeChanged" : true,
  "auditable" : {
    "created" : 12345,
    "updater" : "...",
    "lastModified" : 12345,
    "updated" : 12345,
    "lastUser" : "...",
    "creator" : "..."
  },
  "auditableFields" : [ {
    "notified" : true,
    "historized" : true,
    "notfiable" : true,
    "historable" : true,
    "auditType" : "RENEWAL",
    "fieldName" : "...",
    "currentState" : { },
    "previousState" : { }
  }, {
    "notified" : true,
    "historized" : true,
    "notfiable" : true,
    "historable" : true,
    "auditType" : "RENEWAL",
    "fieldName" : "...",
    "currentState" : { },
    "previousState" : { }
  } ],
  "descriptionAndCode" : "...",
  "parentEntityType" : { },
  "description" : "...",
  "descriptionOrCode" : "...",
  "code" : "...",
  "id" : 12345,
  "referenceCode" : "...",
  "transient" : true,
  "notified" : true,
  "mappingScript" : {
    "description" : "...",
    "scriptParameters" : [ {
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "defaultValue" : "...",
      "mandatory" : true,
      "scriptInstance" : { },
      "allowedValues" : "...",
      "collection" : true,
      "className" : "...",
      "valuesSeparator" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "transient" : true
    }, {
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "defaultValue" : "...",
      "mandatory" : true,
      "scriptInstance" : { },
      "allowedValues" : "...",
      "collection" : true,
      "className" : "...",
      "valuesSeparator" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "transient" : true
    } ],
    "parentEntityType" : { },
    "historized" : true,
    "code" : "...",
    "descriptionAndCode" : "...",
    "id" : 12345,
    "transient" : true,
    "referenceDescription" : "...",
    "sourcingRoles" : [ "...", "..." ],
    "parentEntity" : {
      "description" : "...",
      "code" : "...",
      "version" : 12345,
      "parentEntity" : { },
      "id" : 12345,
      "transient" : true,
      "historized" : true,
      "descriptionOrCode" : "...",
      "auditable" : { },
      "referenceDescription" : "...",
      "referenceCode" : "...",
      "codeChanged" : true,
      "parentEntityType" : { },
      "notified" : true,
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "auditableFields" : [ { }, { } ]
    },
    "disabled" : true,
    "scriptErrors" : [ {
      "message" : "...",
      "sourceFile" : "...",
      "lineNumber" : 12345,
      "columnNumber" : 12345
    }, {
      "message" : "...",
      "sourceFile" : "...",
      "lineNumber" : 12345,
      "columnNumber" : 12345
    } ],
    "referenceCode" : "...",
    "descriptionOrCode" : "...",
    "version" : 12345,
    "auditableFields" : [ {
      "notified" : true,
      "historized" : true,
      "notfiable" : true,
      "historable" : true,
      "auditType" : "OTHER",
      "fieldName" : "...",
      "currentState" : { },
      "previousState" : { }
    }, {
      "notified" : true,
      "historized" : true,
      "notfiable" : true,
      "historable" : true,
      "auditType" : "OTHER",
      "fieldName" : "...",
      "currentState" : { },
      "previousState" : { }
    } ],
    "error" : true,
    "codeChanged" : true,
    "executionRoles" : [ "...", "..." ],
    "notified" : true,
    "appendGeneratedCode" : true,
    "auditable" : {
      "created" : 12345,
      "updater" : "...",
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "reuse" : true,
    "script" : "...",
    "sourceTypeEnum" : "JAVA",
    "descriptionI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "active" : true,
    "scriptInstanceCategory" : {
      "descriptionOrCode" : "...",
      "appendGeneratedCode" : true,
      "version" : 12345,
      "transient" : true,
      "historized" : true,
      "descriptionAndCode" : "...",
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "description" : "...",
      "notified" : true,
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "code" : "...",
      "parentEntityType" : { },
      "referenceCode" : "...",
      "id" : 12345,
      "codeChanged" : true,
      "auditable" : { },
      "parentEntity" : { }
    }
  },
  "referenceDescription" : "...",
  "parentEntity" : {
    "description" : "...",
    "code" : "...",
    "version" : 12345,
    "parentEntity" : { },
    "id" : 12345,
    "transient" : true,
    "historized" : true,
    "descriptionOrCode" : "...",
    "auditable" : {
      "created" : 12345,
      "updater" : "...",
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "referenceDescription" : "...",
    "referenceCode" : "...",
    "codeChanged" : true,
    "parentEntityType" : { },
    "notified" : true,
    "appendGeneratedCode" : true,
    "descriptionAndCode" : "...",
    "auditableFields" : [ {
      "notified" : true,
      "historized" : true,
      "notfiable" : true,
      "historable" : true,
      "auditType" : "STATUS",
      "fieldName" : "...",
      "currentState" : { },
      "previousState" : { }
    }, {
      "notified" : true,
      "historized" : true,
      "notfiable" : true,
      "historable" : true,
      "auditType" : "RENEWAL",
      "fieldName" : "...",
      "currentState" : { },
      "previousState" : { }
    } ]
  },
  "historized" : true,
  "version" : 12345
}