AR System Java API

com.bmc.arsys.api
Class TimeOnlyField

java.lang.Object
  extended by com.bmc.arsys.api.ObjectBase
      extended by com.bmc.arsys.api.Field
          extended by com.bmc.arsys.api.TimeOnlyField
All Implemented Interfaces:
IARPersistentObject, Serializable, Cloneable

public class TimeOnlyField
extends Field
implements Serializable

Store time information only, as the number of seconds from 12:00:00 AM. Use a time field to compare two times or perform calculations based on time, such as the number of seconds elapsed.

See Also:
Serialized Form

Constructor Summary
TimeOnlyField()
           
 
Method Summary
 boolean equals(Object obj)
          Use this method for checking equality between the current object and the provided one.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 String toString()
          Returns a string description of the object.
 
Methods inherited from class com.bmc.arsys.api.Field
clear, clone, getAssignedGroup, getAuditOption, getCreateMode, getDataType, getDefaultValue, getDisplayInstance, getFieldID, getFieldLimit, getFieldMap, getFieldOption, getFieldType, getForm, getKey, getObjectProperty, getReservedIDOK, getSetFieldOptions, isCoreField, isCoreFieldId, isGroupField, isGroupField, isGroupList, isGroupList, isMultiAssignField, isMultiAssignField, isRoleStateMappingField, isRoleStateMappingField, isRowLevelAccessField, isRowLevelAccessField, optionSet, setAuditOption, setCreateMode, setDefaultValue, setDisplayInstance, setFieldID, setFieldLimit, setFieldMap, setFieldOption, SetFieldOptionsSet, setForm, setKey, setObjectProperty, setPermissions, setReservedIDOK, setSetFieldOptions
 
Methods inherited from class com.bmc.arsys.api.ObjectBase
appendDiaryText, getChangeFlags, getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, setChangeFlags, setDiary, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeOnlyField

public TimeOnlyField()
Method Detail

equals

public boolean equals(Object obj)
Use this method for checking equality between the current object and the provided one. The result is true only if the argument is not null, is of the same type and represents the same content.

Overrides:
equals in class Field
Parameters:
obj - the object that we are comparing to
Returns:
returns a boolean that tells if the two objects equal

hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.

Overrides:
hashCode in class Field
Returns:
returns the hash code for this instance

toString

public String toString()
Returns a string description of the object.

Overrides:
toString in class Field

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.