|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Document.ImageID
public abstract class ImageID
Abstract class representing the ID of an image/region.
Constructor Summary | |
---|---|
ImageID()
|
Method Summary | |
---|---|
abstract int |
compareTo(ImageID id)
Compares this object with the specified object for order. |
boolean |
equals(ImageID id)
Compares this ID with the specified ID for equivalence. |
boolean |
equals(java.lang.Object o)
Compares this object with the specified object for equivalence. |
int |
hashCode()
Returns a hash code value for this object. |
boolean |
isErrorDB()
Check for DB correctness of this object. |
boolean |
isErrorExtract()
Check for validity in the feature extraction of this object. |
boolean |
isErrorFile()
Check for correctness of the file of this object. |
boolean |
isErrorGeneric()
Check for correctness of this object. |
boolean |
isErrorID()
Check for uniqueness of this object. |
boolean |
isErrorNoImageFile()
Check for correctness of the file of this object. |
boolean |
isErrorPath()
Check for correctness of the file path of this object. |
boolean |
isErrorStream()
Check for correctness of the read stream for this object. |
boolean |
isErrorURL()
Check for correctness of the URL of this object. |
boolean |
isExtrOK()
Check for correctness of this object. |
boolean |
isValid()
Check for validity of this object. |
abstract int |
size()
The number of elements in the ID. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageID()
Method Detail |
---|
public abstract int size()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to be compared.
true
if this object is the same as the argument; false
otherwise.public boolean equals(ImageID id)
id
- ID to be compared.
true
if this ID is the same as the argument; false
otherwise.public abstract int compareTo(ImageID id)
compareTo
in interface java.lang.Comparable<ImageID>
id
- ID to be compared.
public boolean isValid()
true
if this object is valid; false
otherwise (it represents an error).public boolean isExtrOK()
true
if this object is correct; false
otherwise (it represents an error during extraction).public boolean isErrorDB()
false
if this object is correct; true
otherwise (it represents an error in the DB).public boolean isErrorURL()
false
if this object is correct; true
otherwise (it represents an error in the image URL).public boolean isErrorFile()
false
if this object is correct; true
otherwise (it represents an error in the image file).public boolean isErrorID()
false
if this object is correct; true
otherwise (it means another object with the same ID exists in the DB).public boolean isErrorExtract()
false
if this object is correct; true
otherwise (it represents an error during extraction).public boolean isErrorPath()
false
if this object is correct; true
otherwise (it represents an error in the image pathfile).public boolean isErrorStream()
false
if this object is correct; true
otherwise (it represents an error in the read stream).public boolean isErrorGeneric()
false
if this object is correct; true
otherwise (it represents a generic error).public boolean isErrorNoImageFile()
false
if this object is correct; true
otherwise (it means this is not an image file).public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |