|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.model.impl.ModelObjectImpl
org.homeunix.thecave.buddi.model.impl.SourceImpl
public abstract class SourceImpl
Default implementation of a Source. You should not create this object directly; instead, please use the ModelFactory to create it, as this will ensure that all required fields are correctly set.
| Field Summary | |
|---|---|
protected boolean |
deleted
|
protected java.lang.String |
name
|
protected java.lang.String |
notes
|
| Fields inherited from class org.homeunix.thecave.buddi.model.impl.ModelObjectImpl |
|---|
document, modifiedTime, uid |
| Constructor Summary | |
|---|---|
SourceImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the source |
java.lang.String |
getNotes()
Return the notes associated with this source. |
boolean |
isDeleted()
Is this source marked as deleted? When the user tries to delete a source, we try first to remove it from the model; if that cannot work (due to transactions referencing it), we mark it as deleted. |
void |
setDeleted(boolean deleted)
Sets the deleted status of this source. |
void |
setName(java.lang.String name)
Sets the name of this source. |
void |
setNotes(java.lang.String notes)
Sets the free form notes associated with this account. |
java.lang.String |
toString()
|
| Methods inherited from class org.homeunix.thecave.buddi.model.impl.ModelObjectImpl |
|---|
compareTo, equals, getDocument, getModified, getUid, setChanged, setDocument, setModified, setModified, setUid |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.homeunix.thecave.buddi.model.Source |
|---|
getFullName |
| Methods inherited from interface org.homeunix.thecave.buddi.model.ModelObject |
|---|
compareTo, getDocument, getModified, getUid, setChanged, setDocument |
| Field Detail |
|---|
protected java.lang.String name
protected boolean deleted
protected java.lang.String notes
| Constructor Detail |
|---|
public SourceImpl()
| Method Detail |
|---|
public java.lang.String getName()
Source
getName in interface Sourcepublic java.lang.String getNotes()
Source
getNotes in interface Sourcepublic boolean isDeleted()
Source
isDeleted in interface Source
public void setDeleted(boolean deleted)
throws InvalidValueException
Source
setDeleted in interface SourceInvalidValueException
public void setName(java.lang.String name)
throws InvalidValueException
Source
setName in interface SourceInvalidValueExceptionpublic void setNotes(java.lang.String notes)
Source
setNotes in interface Sourcepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||