|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.service.policystore.info.DataType
oracle.security.jps.service.policystore.info.OpssDayTimeDuration
public class OpssDayTimeDuration
Represents a day time duration object as defined by http://www.w3.org/2001/XMLSchema#dayTimeDuration.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.security.jps.service.policystore.info.DataType |
---|
DataType.TYPE |
Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.ExpressionComponent |
---|
ExpressionComponent.Type |
Constructor Summary | |
---|---|
OpssDayTimeDuration() Retruns a day time duration with all fields 0. |
|
OpssDayTimeDuration(long days, long hours, long minutes, long seconds, long fractionalSecs, boolean negative) |
|
OpssDayTimeDuration(java.lang.String str) |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other) Two OpssDayTimeDuration objects are equal if their day, hours, mintues, seconds and fractions are equal. |
ExpressionComponent.Type |
getComponentType() Returns type of the component. |
long |
getDays() |
long |
getFractionalSecs() |
long |
getHours() |
long |
getMinutes() |
long |
getSeconds() |
DataType.TYPE |
getType() For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof |
OpssDayTimeDuration |
getValue() Returns an object representing real value of this data type. |
int |
hashCode() Overwrite Object's hashCode, since the equals method was overwritten. |
boolean |
isNegative() |
boolean |
isValid() |
void |
setNegative(boolean neg) Sets whether the value of this day time duration is negative. |
java.lang.String |
toString() convert to an ISO Formatted dayTimeDuration object. |
static OpssDayTimeDuration |
valueOf(java.lang.String str) Given a standard formatted string, generate a DayTimeDuration object. |
Methods inherited from class oracle.security.jps.service.policystore.info.DataType |
---|
getDataTypeObjectFromString, getDataTypeObjectFromString, getTypeClassFromClassName, getTypeFromClass |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OpssDayTimeDuration()
public OpssDayTimeDuration(long days, long hours, long minutes, long seconds, long fractionalSecs, boolean negative) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public OpssDayTimeDuration(java.lang.String str) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
Method Detail |
---|
public OpssDayTimeDuration getValue()
DataType
getValue
in class DataType
public final DataType.TYPE getType()
DataType
getType
in class DataType
public long getDays()
public long getHours()
public long getMinutes()
public long getSeconds()
public long getFractionalSecs()
public boolean isNegative()
public void setNegative(boolean neg)
neg
-public boolean equals(java.lang.Object other)
equals
in class DataType
public int hashCode()
hashCode
in class DataType
public java.lang.String toString()
toString
in class DataType
public static OpssDayTimeDuration valueOf(java.lang.String str) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public ExpressionComponent.Type getComponentType()
ExpressionComponent
public boolean isValid()
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |