de.interactive_instruments.ShapeChange.Model
Class ImageMetadata

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Model.ImageMetadata

public class ImageMetadata
extends Object


Constructor Summary
ImageMetadata(String id, String name, File file, String relPathToFile, int width, int height)
           
 
Method Summary
 File getFile()
           
 int getHeight()
           
 String getId()
           
 String getName()
           
 String getRelPathToFile()
           
 int getWidth()
           
 void setFile(File file)
           
 void setHeight(int height)
           
 void setId(String id)
           
 void setName(String name)
           
 void setRelPathToFile(String relPathToFile)
           
 void setWidth(int width)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageMetadata

public ImageMetadata(String id,
                     String name,
                     File file,
                     String relPathToFile,
                     int width,
                     int height)
Parameters:
id -
name -
file -
relPathToFile -
width -
height -
Method Detail

getId

public String getId()
Returns:
the imgId

setId

public void setId(String id)
Parameters:
imgId - the imgId to set

getName

public String getName()
Returns:
the imgName

setName

public void setName(String name)
Parameters:
imgName - the imgName to set

getRelPathToFile

public String getRelPathToFile()
Returns:
the relPathToFile

setRelPathToFile

public void setRelPathToFile(String relPathToFile)
Parameters:
relPathToFile - the relPathToFile to set

getWidth

public int getWidth()
Returns:
the width

setWidth

public void setWidth(int width)
Parameters:
width - the width to set

getHeight

public int getHeight()
Returns:
the height

setHeight

public void setHeight(int height)
Parameters:
height - the height to set

toString

public String toString()
Overrides:
toString in class Object

getFile

public File getFile()
Returns:
the file

setFile

public void setFile(File file)
Parameters:
file - the file to set


Copyright © 2015. All rights reserved.