public class ImageMetadata extends Object
Constructor and Description |
---|
ImageMetadata(String id,
String name,
File file,
String relPathToFile,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
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() |
public String getId()
public void setId(String id)
imgId
- the imgId to setpublic String getName()
public void setName(String name)
imgName
- the imgName to setpublic String getRelPathToFile()
public void setRelPathToFile(String relPathToFile)
relPathToFile
- the relPathToFile to setpublic int getWidth()
public void setWidth(int width)
width
- the width to setpublic int getHeight()
public void setHeight(int height)
height
- the height to setpublic File getFile()
public void setFile(File file)
file
- the file to setCopyright © 2017. All rights reserved.