Attribute operations - script to Java migration
The migration tables list the script operations that map to Attribute Java™ API methods.
AttributeChanges
These script operations
can be mapped to the following AttributeChanges Java API methods.
| Script operation | Java method |
|---|---|
| getAddedAttributePathsNewEntry | getNewlyAddedAttributes
|
| getDeletedAttributePathsOldEntry | getDeletedAttributes
ExtendedAttributeChanges.getDeletedLocationAttributes |
| getModifiedAttributePathsNewEntry | getModifiedAttributesWithNewData
ExtendedAttributeChanges.getModifiedLocationAttributesWithNewData |
| getModifiedAttributePathsOldEntry | getModifiedAttributesWithOldData
ExtendedAttributeChanges.getModifiedLocationAttributesWithOldData |
| getLocationsAddedAvailability | ExtendedAttributeChanges.getLocationsAddedAsAvailable |
| getLocationsRemovedAvailability | ExtendedAttributeChanges.getLocationsRemovedAsAvailable |
| getLocationsHavingChangedData | ExtendedAttributeChanges.getLocationsHavingChangedData |
| getLocationsChangedToHaveData | ExtendedAttributeChanges.getLocationsChangedToHaveData |
| getLocationsChangedToHaveNoData | ExtendedAttributeChanges.getLocationsChangedToNotHaveData |
Attribute Instance
These script operations
can be mapped to the following Attribute Instance Java API methods.
| Script operation | Java method |
|---|---|
| EntryNode.getEntryNodeExactPath | getPath |
| EntryNode.getEntryNodeValue | getValue |
| EntryNode.setEntryNodeValue | setValue |
EntryNode.populateNonPersistedFor
EntryNode |
setValueByExecutingNonPersisted
AttributeRule |
| Item.clearAttribute | setValue(null) |
| EntryNode.getPossibleEntryNodeValues | getPossibleValues |
EntryNode.setEntryNodeRelationshipValue
EntryNode.setEntryNodeRelationshipValue UsingItem |
setValue |
| EntryNode.getEntryNodeChildren | getChildren |
| EntryNode.getParent | getParent |
addAttributeOccurrence
deleteAttributeOccurrence |
getOccurrenceIndex
canAddOccurrence addOccurrence removeOccurrence |
| EntryNode.getEntryNodePath | AttributeDefinition.getPath() |
AttributeOwner
These script operations can
be mapped to the following AttributeOwner Java API methods.
| Script operation | Java method |
|---|---|
| Entry.setEntryAttrib | setAttributeValue |
| Entry.getEntryAttrib | getAttributeValue |
| EntryNode.getEntryChangedData | getChangesComparedTo |
EntryNode.getEntryChangedData
SinceLastSave |
getChangesSinceLastSave |