public class AbstractBean extends Object implements Serializable
Constructor and Description |
---|
AbstractBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares two objects with each other.
|
String |
getId()
Return the id of the bean.
|
int |
hashCode()
Returns the hashcode of this object, which is the hashcode of the id.
|
boolean |
isDeleted()
Should the bean be assumed to be deleted.
|
void |
setDeleted(boolean deleted)
Should the bean be assumed to be deleted.
|
void |
setId(String id)
Sets the id of the bean.
|
public final String getId()
public void setId(String id)
id
- the id of the object.public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- true if the bean is deleted, false otherwise.public boolean equals(Object obj)
Copyright © 2017. All rights reserved.