public class CannotReplaceException extends ImportValidationException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
rcs_id |
Constructor and Description |
---|
CannotReplaceException(RegistryObject ro,
RegistryObject conflictingObject,
RegistryObject referencingObject)
Constructs a new CannotReplaceException.
|
Modifier and Type | Method and Description |
---|---|
RegistryObject |
getConflictingObject()
Return the object that caused this conflict, which is the persistent
subobject referenced, but not defined by the replacement main object.
|
RegistryObject |
getReferencingObject()
Return the object that references the conflicting object.
|
getObject, toString
public static final java.lang.String rcs_id
public CannotReplaceException(RegistryObject ro, RegistryObject conflictingObject, RegistryObject referencingObject)
ro
- the object that cannot be importedconflictingObject
- the object that is embedded in the persistent counterpart of
ro, not defined by ro, but referenced by other parts of the
registryreferencingObject
- the object that references conflictingObject, either directly
or indirectly through one of its embedded objectspublic RegistryObject getConflictingObject()
public RegistryObject getReferencingObject()