|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.vrp.label.IntervalLabel
public class IntervalLabel
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
|
| Constructor Summary | |
|---|---|
IntervalLabel()
|
|
IntervalLabel(int index,
int post)
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object other)
|
boolean |
equals(java.lang.Object that)
|
int |
getIndex()
Retrieves an index value of a resource |
int |
getLength()
|
int |
getPost()
Retrieves a post value for a resource |
int |
hashCode()
|
boolean |
isContained(IntervalLabel label)
This label is contained in the given label if its index is bigger or equal to the given index and its post is smaller or equal to the given post |
boolean |
isUnstored()
This method tells whether the label is already stored in the database or not |
void |
setIndex(int index)
Sets an index value of a resource |
void |
setPost(int post)
Sets a post value for a resource |
void |
setUnstored(boolean isUnstored)
This method sets whether the label is already stored in the db or not |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
| Constructor Detail |
|---|
public IntervalLabel()
public IntervalLabel(int index,
int post)
| Method Detail |
|---|
public int getIndex()
public void setIndex(int index)
index - public int getPost()
public void setPost(int post)
post - public boolean isContained(IntervalLabel label)
label -
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparablepublic int getLength()
public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isUnstored()
public void setUnstored(boolean isUnstored)
isUnstored -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||