org.openpermis.policy.predicate
Class TimeConstant

java.lang.Object
  extended by org.openpermis.policy.predicate.TimeConstant
All Implemented Interfaces:
Value<org.joda.time.DateTime>

public class TimeConstant
extends Object
implements Value<org.joda.time.DateTime>

A time constant represents a time.

Since:
0.1.0

Field Summary
private  PartialTime value
           
 
Constructor Summary
TimeConstant(PartialTime value)
           
 
Method Summary
 boolean equals(Object obj)
           
 Class<?> getType()
           
 PartialTime getValue()
           
 int hashCode()
           
 boolean isMatchable(Map<String,Class<?>> arguments)
           
 String toString()
           
 org.joda.time.DateTime valueOf(TimeStamp timeStamp, Map<String,?> arguments)
          Returns the enclosed value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private PartialTime value
Constructor Detail

TimeConstant

public TimeConstant(PartialTime value)
Since:
0.1.0
Method Detail

valueOf

public org.joda.time.DateTime valueOf(TimeStamp timeStamp,
                                      Map<String,?> arguments)
Description copied from interface: Value
Returns the enclosed value.

Specified by:
valueOf in interface Value<org.joda.time.DateTime>
Since:
0.1.0

isMatchable

public boolean isMatchable(Map<String,Class<?>> arguments)
Specified by:
isMatchable in interface Value<org.joda.time.DateTime>
Since:
0.3.0

getType

public Class<?> getType()
Specified by:
getType in interface Value<org.joda.time.DateTime>
Since:
0.1.0

getValue

public PartialTime getValue()
Since:
0.3.0

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object
Since:
0.1.0

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Since:
0.1.0

toString

public String toString()
Overrides:
toString in class Object
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG