Check if the domain object exists for the input Primary Key.
true if the domain object exists for the input Primary Key. throws: FrameworkException - Indicates some system error
Returns the domain object for the input Primary Key.
the domain object for the input Primary Key. A null is returned if the domain object is not found. throws: FrameworkException - Indicates some system error
Returns a Criteria object for retrieving the domain object based on the input Primary Key.
a Criteria object for retrieving the domain object based on the input Primary Key.
Returns the related foreign CategoryOfInstrument object.
The object is lazy-loaded.
the related foreign CategoryOfInstrument object. throws: ValidationException - if an invalid foreign key is set. throws: FrameworkException - Indicates some system error
Creates a new Asset object and initializes the related fields.
This will uncache the related Asset objects.
throws: ValidationException - if an invalid value is passed. throws: FrameworkException - Indicates some system error the related Asset object with the initialized related fields.
Creates a new Item object and initializes the related fields.
This will uncache the related Item objects.
throws: ValidationException - if an invalid value is passed. throws: FrameworkException - Indicates some system error the related Item object with the initialized related fields.
Creates a new PartPicture object and initializes the related fields.
throws: ValidationException - if an invalid value is passed. throws: FrameworkException - Indicates some system error the related PartPicture object with the initialized related fields.
Creates a new PartRemarks object and initializes the related fields.
throws: ValidationException - if an invalid value is passed. throws: FrameworkException - Indicates some system error the related PartRemarks object with the initialized related fields.
Creates a new PartRemarksPicture object and initializes the related fields.
throws: ValidationException - if an invalid value is passed. throws: FrameworkException - Indicates some system error the related PartRemarksPicture object with the initialized related fields.
This method ensures that the modified foreign-keys are valid.
throws: ApplicationExceptions - if an invalid foreign key is set. throws: FrameworkException - Indicates some system error
This method is triggered by the UOW, before adding this object to the Delete-Store.
This will raise an exception if any associated/aggregated objects exist.
This will cascade delete all composite objects.
throws: PreDeleteFailedException - if any error occurs during the process.
Use this method to update the property categoryInstrument.
This method will do nothing and simply return if the input value is the same as the current value.
Validation will be performed on the input value.
This will try to lock the underlying database row, in case CAUTIOUS locking is specified at the time of query.
Parameters: categoryInstrument - New value of property categoryInstrument. throws: ValidationException - if an invalid value is passed. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
Use this method to update the property noun.
This method will do nothing and simply return if the input value is the same as the current value.
Validation will be performed on the input value.
This will try to lock the underlying database row, in case CAUTIOUS locking is specified at the time of query.
Parameters: noun - New value of property noun. throws: ValidationException - if an invalid value is passed. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
Use this method to update the property part.
This method will do nothing and simply return if the input value is the same as the current value.
Validation will be performed on the input value.
This will try to lock the underlying database row, in case CAUTIOUS locking is specified at the time of query.
Parameters: part - New value of property part. throws: ValidationException - if an invalid value is passed. throws: UpdatePrimaryKeyException - if this domain object was loaded from the database. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
This method is present for backwards compatibility only.
It merely invokes the setCategoryInstrument() method.
Parameters: categoryInstrument - New value of property categoryInstrument. throws: ValidationException - if an invalid value is passed. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
This method is present for backwards compatibility only.
It merely invokes the setNoun() method.
Parameters: noun - New value of property noun. throws: ValidationException - if an invalid value is passed. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
This method is present for backwards compatibility only.
It merely invokes the setPart() method.
Parameters: part - New value of property part. throws: ValidationException - if an invalid value is passed. throws: UpdatePrimaryKeyException - if this domain object was loaded from the database. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
Use this method to validate a value for the property categoryInstrument.
Parameters: categoryInstrument - Value to be validated for the property categoryInstrument. throws: ValidationException - if an invalid value is passed throws: FrameworkException - Indicates some system error
Use this method to validate a value for the property noun.
Parameters: noun - Value to be validated for the property noun. throws: ValidationException - if an invalid value is passed throws: FrameworkException - Indicates some system error
Use this method to validate a value for the property part.
Parameters: part - Value to be validated for the property part. throws: ValidationException - if an invalid value is passed throws: FrameworkException - Indicates some system error
Methods inherited from org.jaffa.persistence.Persistent