Class IpAddressVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.system.ipaddresses.IpAddressVO
-
- All Implemented Interfaces:
Serializable,IEntity
public class IpAddressVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<String,IpAddressVO>ADDRESSstatic BasicProperty<DateTime,IpAddressVO>BLOCKED_UNTILstatic StringCLASS_NAMEstatic BasicProperty<String,IpAddressVO>COMMENTstatic BasicProperty<IpAddressStatus,IpAddressVO>STATUS-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description IpAddressVO()IpAddressVO(Long id)IpAddressVO(Property<T,? super IpAddressVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetAddress()DateTimegetBlockedUntil()StringgetComment()IpAddressStatusgetStatus()voidsetAddress(String address)voidsetBlockedUntil(DateTime blockedUntil)voidsetComment(String comment)voidsetStatus(IpAddressStatus status)-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
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,IpAddressVO> ADDRESS
-
BLOCKED_UNTIL
public static final BasicProperty<DateTime,IpAddressVO> BLOCKED_UNTIL
-
COMMENT
public static final BasicProperty<String,IpAddressVO> COMMENT
-
STATUS
public static final BasicProperty<IpAddressStatus,IpAddressVO> STATUS
-
-
Constructor Detail
-
IpAddressVO
public IpAddressVO()
-
IpAddressVO
public IpAddressVO(Long id)
-
IpAddressVO
public IpAddressVO(Property<T,? super IpAddressVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
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)
-
-