org.homeunix.thecave.buddi.plugin.api.model
Interface ImmutableSource

All Superinterfaces:
java.lang.Comparable<ImmutableModelObject>, ImmutableModelObject
All Known Subinterfaces:
ImmutableAccount, ImmutableBudgetCategory, MutableAccount, MutableBudgetCategory, MutableSource
All Known Implementing Classes:
ImmutableAccountImpl, ImmutableBudgetCategoryImpl, ImmutableSourceImpl, MutableAccountImpl, MutableBudgetCategoryImpl, MutableSourceImpl

public interface ImmutableSource
extends ImmutableModelObject


Method Summary
 java.lang.String getFullName()
          Returns the full name of this source.
 java.lang.String getName()
          Returns the name of this source
 java.lang.String getNotes()
          Return any notes associated with this source
 Source getSource()
          Returns the wrapped object from the underlying data model.
 boolean isDeleted()
          Is this source deleted?
 
Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableModelObject
getModified, getRaw, getUid
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getFullName

java.lang.String getFullName()
Returns the full name of this source. This differs for Account and Budget Categories: for Accounts, it returns getName() and getType().getName(); for Budget Categories, it just returns getName().

Returns:

getName

java.lang.String getName()
Returns the name of this source

Returns:

getNotes

java.lang.String getNotes()
Return any notes associated with this source

Returns:

getSource

Source getSource()
Returns the wrapped object from the underlying data model. By accessing this method, you bypass all protection which the Buddi API gives you; it is not recommended to use this method unless you understand the risks associated with it.

Returns:

isDeleted

boolean isDeleted()
Is this source deleted?

Returns: