| org.tigris.scarab.om.BaseDepend
All known Subclasses: org.tigris.scarab.om.Depend,
BaseDepend | abstract public class BaseDepend extends BaseObject implements org.apache.fulcrum.intake.Retrievable(Code) | | You should not use this class directly. It should not even be
extended all references should be to Depend
|
Method Summary | |
public void | addActivity(Activity l) | public Depend | copy() Makes a copy of this object. | protected Depend | copyInto(Depend copyObj) | public List | getActivitys() If this collection has already been initialized, returns
the collection. | public List | getActivitys(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection. | public List | getActivitys(Connection con) If this collection has already been initialized, returns
the collection. | public List | getActivitys(Criteria criteria, Connection con) If this collection has already been initialized with
an identical criteria, it returns the collection. | protected List | getActivitysJoinActivitySet(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getActivitysJoinAttachment(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getActivitysJoinAttribute(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getActivitysJoinAttributeOptionRelatedByNewOptionId(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getActivitysJoinAttributeOptionRelatedByOldOptionId(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getActivitysJoinDepend(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getActivitysJoinIssue(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getActivitysJoinScarabUserImplRelatedByNewUserId(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getActivitysJoinScarabUserImplRelatedByOldUserId(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. | public Object | getByName(String name) Retrieves a field from the object by name passed in as a String. | public Object | getByPeerName(String name) Retrieves a field from the object by name passed in
as a String. | public Object | getByPosition(int pos) Retrieves a field from the object by Position as specified
in the xml schema. | public boolean | getDeleted() | public Integer | getDependId() | public DependType | getDependType() Returns the associated DependType object. | public DependType | getDependType(Connection connection) | public static synchronized List | getFieldNames() Generate a list of field names. | public Issue | getIssueRelatedByObservedId() Returns the associated Issue object. | public Issue | getIssueRelatedByObservedId(Connection connection) | public Issue | getIssueRelatedByObserverId() Returns the associated Issue object. | public Issue | getIssueRelatedByObserverId(Connection connection) | public Long | getObservedId() | public Long | getObserverId() | public DependPeer | getPeer() returns a peer instance associated with this om. | public ObjectKey | getPrimaryKey() returns an id that differentiates this object from others
of its class. | public String | getQueryKey() get an id that differentiates this object from others
of its class. | public Integer | getTypeId() | protected void | initActivitys() Temporary storage of collActivitys to save a possible db hit in
the event objects are add to the collection, but the
complete collection is never requested. | protected boolean | isCacheOnSave() Specify whether to cache the object after saving to the db. | public void | save() Stores the object in the database. | public void | save(String dbName) Stores the object in the database. | public void | save(Connection con) Stores the object in the database. | public void | setDeleted(boolean v) | public void | setDependId(Integer v) | public void | setDependType(DependType v) | public void | setDependTypeKey(ObjectKey key) | public void | setIssueRelatedByObservedId(Issue v) | public void | setIssueRelatedByObservedIdKey(ObjectKey key) | public void | setIssueRelatedByObserverId(Issue v) | public void | setIssueRelatedByObserverIdKey(ObjectKey key) | public void | setObservedId(Long v) | public void | setObserverId(Long v) | public void | setPrimaryKey(ObjectKey key) Set the PrimaryKey using ObjectKey. | public void | setPrimaryKey(String key) Set the PrimaryKey using a String. | public void | setQueryKey(String key) set an id that differentiates this object from others
of its class. | public void | setTypeId(Integer v) | public String | toString() |
collActivitys | protected List collActivitys(Code) | | Collection to store aggregation of collActivitys
|
addActivity | public void addActivity(Activity l) throws TorqueException(Code) | | Method called to associate a Activity object to this object
through the Activity foreign key attribute
Parameters: l - Activity throws: TorqueException - |
copy | public Depend copy() throws TorqueException(Code) | | Makes a copy of this object.
It creates a new object filling in the simple attributes.
It then fills all the association collections and sets the
related objects to isNew=true.
|
getActivitys | public List getActivitys() throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getActivitys(new Criteria())
the collection of associated objects throws: TorqueException - |
getActivitys | public List getActivitys(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend has previously
been saved, it will retrieve related Activitys from storage.
If this Depend is new, it will return
an empty collection or the current collection, the criteria
is ignored on a new object.
throws: TorqueException - |
getActivitys | public List getActivitys(Connection con) throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getActivitys(new Criteria(),Connection)
This method takes in the Connection also as input so that
referenced objects can also be obtained using a Connection
that is taken as input
|
getActivitys | public List getActivitys(Criteria criteria, Connection con) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend has previously
been saved, it will retrieve related Activitys from storage.
If this Depend is new, it will return
an empty collection or the current collection, the criteria
is ignored on a new object.
This method takes in the Connection also as input so that
referenced objects can also be obtained using a Connection
that is taken as input
|
getActivitysJoinActivitySet | protected List getActivitysJoinActivitySet(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getActivitysJoinAttachment | protected List getActivitysJoinAttachment(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getActivitysJoinAttribute | protected List getActivitysJoinAttribute(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getActivitysJoinAttributeOptionRelatedByNewOptionId | protected List getActivitysJoinAttributeOptionRelatedByNewOptionId(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getActivitysJoinAttributeOptionRelatedByOldOptionId | protected List getActivitysJoinAttributeOptionRelatedByOldOptionId(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getActivitysJoinDepend | protected List getActivitysJoinDepend(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getActivitysJoinIssue | protected List getActivitysJoinIssue(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getActivitysJoinScarabUserImplRelatedByNewUserId | protected List getActivitysJoinScarabUserImplRelatedByNewUserId(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getActivitysJoinScarabUserImplRelatedByOldUserId | protected List getActivitysJoinScarabUserImplRelatedByOldUserId(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this Depend is new, it will return
an empty collection; or if this Depend has previously
been saved, it will retrieve related Activitys from storage.
This method is protected by default in order to keep the public
api reasonable. You can provide public methods for those you
actually need in Depend.
|
getByName | public Object getByName(String name)(Code) | | Retrieves a field from the object by name passed in as a String.
Parameters: name - field name value |
getByPeerName | public Object getByPeerName(String name)(Code) | | Retrieves a field from the object by name passed in
as a String. The String must be one of the static
Strings defined in this Class' Peer.
Parameters: name - peer name value |
getByPosition | public Object getByPosition(int pos)(Code) | | Retrieves a field from the object by Position as specified
in the xml schema. Zero-based.
Parameters: pos - position in xml schema value |
getDeleted | public boolean getDeleted()(Code) | | Get the Deleted
boolean |
getDependId | public Integer getDependId()(Code) | | Get the DependId
Integer |
getDependType | public DependType getDependType() throws TorqueException(Code) | | Returns the associated DependType object.
If it was not retrieved before, the object is retrieved from
the database
the associated DependType object throws: TorqueException - |
getDependType | public DependType getDependType(Connection connection) throws TorqueException(Code) | | Return the associated DependType object
If it was not retrieved before, the object is retrieved from
the database using the passed connection
Parameters: connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated DependType object throws: TorqueException - |
getFieldNames | public static synchronized List getFieldNames()(Code) | | Generate a list of field names.
a list of field names |
getIssueRelatedByObservedId | public Issue getIssueRelatedByObservedId() throws TorqueException(Code) | | Returns the associated Issue object.
If it was not retrieved before, the object is retrieved from
the database
the associated Issue object throws: TorqueException - |
getIssueRelatedByObservedId | public Issue getIssueRelatedByObservedId(Connection connection) throws TorqueException(Code) | | Return the associated Issue object
If it was not retrieved before, the object is retrieved from
the database using the passed connection
Parameters: connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated Issue object throws: TorqueException - |
getIssueRelatedByObserverId | public Issue getIssueRelatedByObserverId() throws TorqueException(Code) | | Returns the associated Issue object.
If it was not retrieved before, the object is retrieved from
the database
the associated Issue object throws: TorqueException - |
getIssueRelatedByObserverId | public Issue getIssueRelatedByObserverId(Connection connection) throws TorqueException(Code) | | Return the associated Issue object
If it was not retrieved before, the object is retrieved from
the database using the passed connection
Parameters: connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated Issue object throws: TorqueException - |
getObservedId | public Long getObservedId()(Code) | | Get the ObservedId
Long |
getObserverId | public Long getObserverId()(Code) | | Get the ObserverId
Long |
getPeer | public DependPeer getPeer()(Code) | | returns a peer instance associated with this om. Since Peer classes
are not to have any instance attributes, this method returns the
same instance for all member of this class. The method could therefore
be static, but this would prevent one from overriding the behavior.
|
getPrimaryKey | public ObjectKey getPrimaryKey()(Code) | | returns an id that differentiates this object from others
of its class.
|
getQueryKey | public String getQueryKey()(Code) | | get an id that differentiates this object from others
of its class.
|
initActivitys | protected void initActivitys()(Code) | | Temporary storage of collActivitys to save a possible db hit in
the event objects are add to the collection, but the
complete collection is never requested.
|
isCacheOnSave | protected boolean isCacheOnSave()(Code) | | Specify whether to cache the object after saving to the db.
This method returns true
|
save | public void save() throws TorqueException(Code) | | Stores the object in the database. If the object is new,
it inserts it; otherwise an update is performed.
throws: TorqueException - |
save | public void save(String dbName) throws TorqueException(Code) | | Stores the object in the database. If the object is new,
it inserts it; otherwise an update is performed.
Note: this code is here because the method body is
auto-generated conditionally and therefore needs to be
in this file instead of in the super class, BaseObject.
Parameters: dbName - throws: TorqueException - |
save | public void save(Connection con) throws TorqueException(Code) | | Stores the object in the database. If the object is new,
it inserts it; otherwise an update is performed. This method
is meant to be used as part of a transaction, otherwise use
the save() method and the connection details will be handled
internally
Parameters: con - throws: TorqueException - |
setDeleted | public void setDeleted(boolean v)(Code) | | Set the value of Deleted
Parameters: v - new value |
setDependId | public void setDependId(Integer v) throws TorqueException(Code) | | Set the value of DependId
Parameters: v - new value |
setDependType | public void setDependType(DependType v) throws TorqueException(Code) | | Declares an association between this object and a DependType object
Parameters: v - DependType throws: TorqueException - |
setDependTypeKey | public void setDependTypeKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setIssueRelatedByObservedId | public void setIssueRelatedByObservedId(Issue v) throws TorqueException(Code) | | Declares an association between this object and a Issue object
Parameters: v - Issue throws: TorqueException - |
setIssueRelatedByObservedIdKey | public void setIssueRelatedByObservedIdKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setIssueRelatedByObserverId | public void setIssueRelatedByObserverId(Issue v) throws TorqueException(Code) | | Declares an association between this object and a Issue object
Parameters: v - Issue throws: TorqueException - |
setIssueRelatedByObserverIdKey | public void setIssueRelatedByObserverIdKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setObservedId | public void setObservedId(Long v) throws TorqueException(Code) | | Set the value of ObservedId
Parameters: v - new value |
setObserverId | public void setObserverId(Long v) throws TorqueException(Code) | | Set the value of ObserverId
Parameters: v - new value |
setPrimaryKey | public void setPrimaryKey(ObjectKey key) throws TorqueException(Code) | | Set the PrimaryKey using ObjectKey.
Parameters: key - dependId ObjectKey |
setPrimaryKey | public void setPrimaryKey(String key) throws TorqueException(Code) | | Set the PrimaryKey using a String.
Parameters: key - |
setQueryKey | public void setQueryKey(String key) throws TorqueException(Code) | | set an id that differentiates this object from others
of its class.
|
setTypeId | public void setTypeId(Integer v) throws TorqueException(Code) | | Set the value of TypeId
Parameters: v - new value |
|
|