public class CopyUtilities extends Object
Constructor and Description |
---|
CopyUtilities() |
Modifier and Type | Method and Description |
---|---|
static AuditSpecification |
copyAuditSpecification(AuditSpecification spec,
AttributeValueTable overrides)
Performs an object copy of a AuditSpecification.
|
static SimpleProperty |
copySimpleProperty(SimpleProperty prop,
Long refId,
Long refClassId)
Performs an object copy of a SimpleProperty.
|
static SimpleProperty[] |
copySimplePropertyArray(SimpleProperty[] props,
Long refId,
Long refClassId)
Performs an object copy of an array of SimpleProperty.
|
static SimplePropertyTable |
copySimplePropertyTable(SimplePropertyTable spt)
Performs an object copy of a SimplePropertyTable.
|
static SimplePropertyTableList |
copySimplePropertyTableList(SimplePropertyTableList sptl)
Performs an object copy of a SimplePropertyTableList.
|
public static SimpleProperty copySimpleProperty(SimpleProperty prop, Long refId, Long refClassId) throws IfsException
The reference object and Class IDs are for the object that defines the attribute that references the SimpleProperty, typically an attribute whose data type is "Array of SimpleObject".
prop
- the SimpleProperty to copyrefId
- the reference (parent) object IDrefClassId
- the reference (parent) object classIdIfsException
- if the operation failspublic static SimpleProperty[] copySimplePropertyArray(SimpleProperty[] props, Long refId, Long refClassId) throws IfsException
The reference object and Class IDs are for the object that defines the Array of SimpleProperty attribute.
props
- the array of SimpleProperty objects to copyrefId
- the reference (parent) object IDrefClassId
- the reference (parent) object classIdIfsException
- if the operation failspublic static SimplePropertyTable copySimplePropertyTable(SimplePropertyTable spt) throws IfsException
spt
- the SimplePropertyTable to copyIfsException
- if the operation failspublic static SimplePropertyTableList copySimplePropertyTableList(SimplePropertyTableList sptl) throws IfsException
sptl
- the SimplePropertyTableList to copyIfsException
- if the operation failspublic static AuditSpecification copyAuditSpecification(AuditSpecification spec, AttributeValueTable overrides) throws IfsException
spec
- the AuditSpecification to copyoverrides
- any overrides to the copied valuesIfsException
- if the operation failsCopyright © 2025. All rights reserved.