Package org.photovault.dbhelper

Examples of org.photovault.dbhelper.ODMGXAWrapper.lock()


     * Set the value of desc.
     * @param v  Value to assign to desc.
     */
    public void setDesc(String  v) {
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.WRITE );
        this.desc = v;
        modified();
        txw.commit();
    }
    double FStop;
View Full Code Here


     * Get the value of FStop.
     * @return value of FStop.
     */
    public double getFStop() {
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.READ );
        txw.commit();
        return FStop;
    }
   
    /**
 
View Full Code Here

     * Set the value of FStop.
     * @param v  Value to assign to FStop.
     */
    public void setFStop(double  v) {
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.WRITE );
        this.FStop = v;
        modified();
        txw.commit();
    }
    double focalLength;
View Full Code Here

     * Get the value of focalLength.
     * @return value of focalLength.
     */
    public double getFocalLength() {
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.READ );
        txw.commit();
        return focalLength;
    }
   
    /**
 
View Full Code Here

     * Set the value of focalLength.
     * @param v  Value to assign to focalLength.
     */
    public void setFocalLength(double  v) {
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.WRITE );
        this.focalLength = v;
        modified();
        txw.commit();
    }
    String shootingPlace;
View Full Code Here

     * Get the value of shootingPlace.
     * @return value of shootingPlace.
     */
    public String getShootingPlace() {
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.READ );
        txw.commit();
        return shootingPlace;
    }
   
    /**
 
View Full Code Here

     * @param v  Value to assign to shootingPlace.
     */
    public void setShootingPlace(String  v) {
        checkStringProperty( "Shooting place", v, SHOOTING_PLACE_LENGTH );
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.WRITE );
        this.shootingPlace = v;
        modified();
        txw.commit();
    }
    String photographer;
View Full Code Here

     * Get the value of photographer.
     * @return value of photographer.
     */
    public String getPhotographer() {
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.READ );
        txw.commit();
        return photographer;
    }
   
    /**
 
View Full Code Here

     * @param v  Value to assign to photographer.
     */
    public void setPhotographer(String  v) {
        checkStringProperty( "Photographer", v, this.PHOTOGRAPHER_LENGTH );
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.WRITE );
        this.photographer = v;
        modified();
        txw.commit();
    }
    double shutterSpeed;
View Full Code Here

     * Get the value of shutterSpeed.
     * @return value of shutterSpeed.
     */
    public double getShutterSpeed() {
        ODMGXAWrapper txw = new ODMGXAWrapper();
        txw.lock( this, Transaction.READ );
        txw.commit();
        return shutterSpeed;
    }
   
    /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.