|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.campaign.model.AddToPlaceholderModel.TimeToLive
public static class AddToPlaceholderModel.TimeToLive
Utility class to store time to live information.
Field Summary | |
---|---|
int |
days
The number of days. |
int |
hours
The number of hours. |
int |
minutes
The number of minutes. |
Constructor Summary | |
---|---|
AddToPlaceholderModel.TimeToLive()
Constructor for 0 time to live. |
|
AddToPlaceholderModel.TimeToLive(int days,
int hours,
int minutes)
Constructor w/ non-negative values. |
Method Summary | |
---|---|
Object |
clone()
|
int |
compareTo(AddToPlaceholderModel.TimeToLive ttl)
|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
|
static AddToPlaceholderModel.TimeToLive |
valueOf(String str)
Create a TimeToLive from a [days]:[hours]:[minutes] string. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int days
public int hours
public int minutes
Constructor Detail |
---|
public AddToPlaceholderModel.TimeToLive(int days, int hours, int minutes)
public AddToPlaceholderModel.TimeToLive()
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(AddToPlaceholderModel.TimeToLive ttl)
compareTo
in interface Comparable<AddToPlaceholderModel.TimeToLive>
public Object clone()
clone
in class Object
public static AddToPlaceholderModel.TimeToLive valueOf(String str)
public String toString()
toString
in class Object
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |