org.tigris.scarab.attribute
Class StringAttribute

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended byorg.tigris.scarab.om.BaseAttributeValue
          extended byorg.tigris.scarab.om.AttributeValue
              extended byorg.tigris.scarab.attribute.FreeFormAttribute
                  extended byorg.tigris.scarab.attribute.StringAttribute
All Implemented Interfaces:
org.apache.torque.om.Persistent, org.apache.fulcrum.intake.Retrievable, java.io.Serializable
Direct Known Subclasses:
DateAttribute, IntegerAttribute

public class StringAttribute
extends FreeFormAttribute

Description of the Class

Version:
$Revision: 9104 $ $Date: 2004-05-10 23:04:51 +0200 (Mo, 10 Mai 2004) $
Author:
Fedor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
StringAttribute()
           
 
Method Summary
 void save(java.sql.Connection dbCon)
          Saves the StringAttribute and related objects in persistent storage.
 
Methods inherited from class org.tigris.scarab.attribute.FreeFormAttribute
init, loadResources, setResources
 
Methods inherited from class org.tigris.scarab.om.AttributeValue
copy, equals, getActivity, getAttributeOption, getChainedValue, getNewInstance, getNewInstance, getNewInstance, getOptionIdAsString, getOptionIds, getQueryKey, getRModuleAttribute, getUserIds, getValueList, hashCode, isQuickSearchAttribute, isRequired, isSet, setActivity, setActivityDescription, setAttributeId, setChainedValue, setIssueId, setNumericValue, setOptionId, setOptionIdOnly, setOptionIds, setProperties, setUserId, setUserIdOnly, setUserIds, setValue, setValueOnly, startActivitySet, supportsVoting, toString
 
Methods inherited from class org.tigris.scarab.om.BaseAttributeValue
copyInto, getAttribute, getAttribute, getAttributeId, getAttributeOption, getByName, getByPeerName, getByPosition, getDeleted, getFieldNames, getIssue, getIssue, getIssueId, getNumericValue, getOptionId, getPeer, getPrimaryKey, getScarabUser, getScarabUser, getUserId, getValue, getValueId, isCacheOnSave, save, save, setAttribute, setAttributeKey, setAttributeOption, setAttributeOptionKey, setDeleted, setIssue, setIssueKey, setPrimaryKey, setPrimaryKey, setQueryKey, setScarabUser, setScarabUserKey, setValueId
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, getLog, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.torque.om.Persistent
getPrimaryKey, isModified, isNew, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey
 

Constructor Detail

StringAttribute

public StringAttribute()
Method Detail

save

public void save(java.sql.Connection dbCon)
          throws org.apache.torque.TorqueException
Saves the StringAttribute and related objects in persistent storage. This method calls the parent save method and then indexes the text value for searching.

Specified by:
save in interface org.apache.torque.om.Persistent
Overrides:
save in class AttributeValue
Throws:
org.apache.torque.TorqueException


Copyright © 2000-2004 Tigris.org. All Rights Reserved.