| java.lang.Object java.util.Date com.versant.core.jdo.sco.detached.DetachSCODate
Method Summary | |
public Object | clone() Creates and returns a copy of this object.
Mutable Second Class Objects are required to provide a public
clone method in order to allow for copying PersistenceCapable
objects. | public Class | getJavaType() Return the java class that is represented by this sco. | public Object | getOwner() | public static void | main(String[] args) | public void | makeDirty() | public void | makeTransient() | public void | readExternal(ObjectInput in) | public void | reset() | public void | setDate(int date) Sets the day of the month of this DetachSCODate object to the
specified value. | public void | setHours(int hours) Sets the hour of this DetachSCODate object to the specified value. | public void | setMinutes(int minutes) Sets the minutes of this DetachSCODate object to the specified value. | public void | setMonth(int month) Sets the month of this date to the specified value. | public void | setSeconds(int seconds) Sets the seconds of this DetachSCODate to the specified value. | public void | setTime(long time) Sets the DetachSCODate object to represent a point in time that is
time milliseconds after January 1, 1970 00:00:00 GMT. | public void | setTimeInternal(long time) Sets the DetachSCODate object without notification of the Owner
field. | public void | setYear(int year) Sets the year of this DetachSCODate object to be the specified
value plus 1900. | public void | writeExternal(ObjectOutput out) |
DetachSCODate | public DetachSCODate(PersistenceCapable owner, VersantStateManager stateManager, VersantFieldMetaData fmd, long date)(Code) | | Creates a DetachSCODate object that represents the given time
in milliseconds.
Parameters: date - the number of milliseconds |
clone | public Object clone()(Code) | | Creates and returns a copy of this object.
Mutable Second Class Objects are required to provide a public
clone method in order to allow for copying PersistenceCapable
objects. In contrast to Object.clone(), this method must not throw a
CloneNotSupportedException.
|
getJavaType | public Class getJavaType()(Code) | | Return the java class that is represented by this sco.
|
getOwner | public Object getOwner()(Code) | | Returns the owner object of the SCO instance
owner object |
makeDirty | public void makeDirty()(Code) | | Marks object dirty
|
makeTransient | public void makeTransient()(Code) | | Nullifies references to the owner Object and Field
|
reset | public void reset()(Code) | | |
setDate | public void setDate(int date)(Code) | | Sets the day of the month of this DetachSCODate object to the
specified value.
Parameters: date - the day of the month value between 1-31. See Also: java.util.Calendar See Also: java.util.Date |
setHours | public void setHours(int hours)(Code) | | Sets the hour of this DetachSCODate object to the specified value.
Parameters: hours - the hour value. See Also: java.util.Calendar See Also: java.util.Date |
setMinutes | public void setMinutes(int minutes)(Code) | | Sets the minutes of this DetachSCODate object to the specified value.
Parameters: minutes - the value of the minutes. See Also: java.util.Calendar See Also: java.util.Date |
setMonth | public void setMonth(int month)(Code) | | Sets the month of this date to the specified value.
Parameters: month - the month value between 0-11. See Also: java.util.Calendar See Also: java.util.Date |
setSeconds | public void setSeconds(int seconds)(Code) | | Sets the seconds of this DetachSCODate to the specified value.
Parameters: seconds - the seconds value. See Also: java.util.Calendar See Also: java.util.Date |
setTime | public void setTime(long time)(Code) | | Sets the DetachSCODate object to represent a point in time that is
time milliseconds after January 1, 1970 00:00:00 GMT.
Parameters: time - the number of milliseconds. See Also: java.util.Date |
setTimeInternal | public void setTimeInternal(long time)(Code) | | Sets the DetachSCODate object without notification of the Owner
field. Used internaly to populate date from DB
Parameters: time - the number of milliseconds. See Also: java.util.Date |
setYear | public void setYear(int year)(Code) | | Sets the year of this DetachSCODate object to be the specified
value plus 1900.
Parameters: year - the year value. See Also: java.util.Calendar See Also: java.util.Date |
|
|