Class IpAddressDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.system.ipaddresses.IpAddressDTO
-
- All Implemented Interfaces:
Serializable,IEntity
public class IpAddressDTO extends EntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<String,IpAddressDTO>ADDRESSstatic BasicProperty<TimeIntervalDTO,IpAddressDTO>BLOCK_TIMEstatic BasicProperty<DateTime,IpAddressDTO>BLOCKED_UNTILstatic StringCLASS_NAMEstatic BasicProperty<String,IpAddressDTO>COMMENTstatic BasicProperty<IpAddressStatus,IpAddressDTO>STATUS-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description IpAddressDTO()IpAddressDTO(Long id)IpAddressDTO(Property<T,? super IpAddressDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetAddress()DateTimegetBlockedUntil()TimeIntervalDTOgetBlockTime()StringgetComment()IpAddressStatusgetStatus()voidsetAddress(String address)voidsetBlockedUntil(DateTime blockedUntil)voidsetBlockTime(TimeIntervalDTO blockTime)voidsetComment(String comment)voidsetStatus(IpAddressStatus status)-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ADDRESS
public static final BasicProperty<String,IpAddressDTO> ADDRESS
-
BLOCK_TIME
public static final BasicProperty<TimeIntervalDTO,IpAddressDTO> BLOCK_TIME
-
BLOCKED_UNTIL
public static final BasicProperty<DateTime,IpAddressDTO> BLOCKED_UNTIL
-
COMMENT
public static final BasicProperty<String,IpAddressDTO> COMMENT
-
STATUS
public static final BasicProperty<IpAddressStatus,IpAddressDTO> STATUS
-
-
Constructor Detail
-
IpAddressDTO
public IpAddressDTO()
-
IpAddressDTO
public IpAddressDTO(Long id)
-
IpAddressDTO
public IpAddressDTO(Property<T,? super IpAddressDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
getBlockTime
public TimeIntervalDTO getBlockTime()
-
setBlockTime
public void setBlockTime(TimeIntervalDTO blockTime)
-
getBlockedUntil
public DateTime getBlockedUntil()
-
setBlockedUntil
public void setBlockedUntil(DateTime blockedUntil)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
getStatus
public IpAddressStatus getStatus()
-
setStatus
public void setStatus(IpAddressStatus status)
-
-