de.interactive_instruments.ShapeChange.Model
Class ImageMetadata
java.lang.Object
de.interactive_instruments.ShapeChange.Model.ImageMetadata
public class ImageMetadata
- extends Object
ImageMetadata
public ImageMetadata(String id,
String name,
File file,
String relPathToFile,
int width,
int height)
- Parameters:
id
- name
- file
- relPathToFile
- width
- height
-
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.