Class AbstractPersistable
- java.lang.Object
-
- org.kie.camel.container.api.model.cloudbalance.AbstractPersistable
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractPersistable>
- Direct Known Subclasses:
CloudBalance,CloudComputer,CloudProcess
public abstract class AbstractPersistable extends Object implements Serializable, Comparable<AbstractPersistable>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPersistable()protectedAbstractPersistable(long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AbstractPersistable other)Used by the GUI to sort theConstraintMatchlist byConstraintMatch.getJustificationList().booleanequals(Object o)LonggetId()inthashCode()voidsetId(Long id)StringtoString()
-
-
-
Field Detail
-
id
protected Long id
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
compareTo
public int compareTo(AbstractPersistable other)
Used by the GUI to sort theConstraintMatchlist byConstraintMatch.getJustificationList().- Specified by:
compareToin interfaceComparable<AbstractPersistable>- Parameters:
other- never null- Returns:
- comparison
-
-