Package org.cyclos.entities.access
Class RemoteAddessBlock
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.access.RemoteAddessBlock
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForDataTranslation,DefinesNetwork,IEntity
@Entity public class RemoteAddessBlock extends NetworkedEntity implements DefinesNetwork
Stores the time a remote address is blocked for logins (it can be blocked by exceeding the invalid username attempts)
-
-
Constructor Summary
Constructors Constructor Description RemoteAddessBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetBlockedUntil()NetworkgetNetwork()Returns the network this entity belongs toStringgetRemoteAddress()voidsetBlockedUntil(Date blockedUntil)voidsetNetwork(Network network)voidsetRemoteAddress(String remoteAddress)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
-
-
-
Method Detail
-
getBlockedUntil
public Date getBlockedUntil()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getRemoteAddress
public String getRemoteAddress()
-
setBlockedUntil
public void setBlockedUntil(Date blockedUntil)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
-
-