org.orange.kicsa.business
Interface Editable

All Known Subinterfaces:
Ability, Employee, Relationship, RelationshipType, Skill
All Known Implementing Classes:
Editable.Status

public interface Editable

An persistent object that can be modified.

Another way of providing such an interface could be :

interface Editable {
void dirty();
void sync()
void toCreate();
void toDelete();
}

but this would make this interface less flexible, restricting


Method Summary
 booleanisDeleted()
           
 booleanisDirty()
           
 booleanisNew()
           
 booleanisSync()
           
 voidsetDeleted(boolean deleted)
           
 voidsetDirty(boolean dirty)
           
 voidsetNew(boolean property)
           
 voidsetSync(boolean sync)
           

Method Detail

isDeleted

public boolean isDeleted()

isDirty

public boolean isDirty()

isNew

public boolean isNew()

isSync

public boolean isSync()

setDeleted

public void setDeleted(boolean deleted)

setDirty

public void setDirty(boolean dirty)

setNew

public void setNew(boolean property)

setSync

public void setSync(boolean sync)

Dependency Links

to Class java.lang.Cloneable

to Class org.orange.kicsa.business.Editable.Status

to Class java.lang.Object

to Class java.lang.String

to Class java.lang.RuntimeException

to Class java.lang.CloneNotSupportedException

to Class Diagram org.orange.kicsa.business

to Class Diagram org.orange.kicsa

to Class Diagram org.orange

to Class Diagram org

to Class Diagram <default>