public abstract class AbstractPersistable extends Object implements Serializable, Comparable<AbstractPersistable>
Modifier | Constructor and Description |
---|---|
protected |
AbstractPersistable() |
protected |
AbstractPersistable(long id) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractPersistable other)
Used by the GUI to sort the
ConstraintMatch list
by ConstraintMatch.getJustificationList() . |
Long |
getId() |
void |
setId(Long id) |
String |
toString() |
protected Long id
protected AbstractPersistable()
protected AbstractPersistable(long id)
public Long getId()
public void setId(Long id)
public int compareTo(AbstractPersistable other)
ConstraintMatch
list
by ConstraintMatch.getJustificationList()
.compareTo
in interface Comparable<AbstractPersistable>
other
- never nullCopyright © 2006–2019 JBoss by Red Hat. All rights reserved.