Package org.cyclos.model.system.networks
Class NetworkDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.system.networks.NetworkDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
public class NetworkDTO extends ConfigurationEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<DateTime,NetworkDTO>CREATION_DATEstatic BasicProperty<Boolean,NetworkDTO>DEFAULT_NETWORKstatic BasicProperty<Boolean,NetworkDTO>ENABLEDstatic BasicProperty<ConfigurationDetailedVO,NetworkDTO>PARENT_CONFIGURATION-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description NetworkDTO()NetworkDTO(Long id)NetworkDTO(Property<T,? super NetworkDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DateTimegetCreationDate()ConfigurationDetailedVOgetParentConfiguration()booleanisDefaultNetwork()booleanisEnabled()voidsetCreationDate(DateTime creationDate)voidsetDefaultNetwork(boolean defaultNetwork)voidsetEnabled(boolean enabled)voidsetParentConfiguration(ConfigurationDetailedVO parentConfiguration)-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CREATION_DATE
public static final BasicProperty<DateTime,NetworkDTO> CREATION_DATE
-
DEFAULT_NETWORK
public static final BasicProperty<Boolean,NetworkDTO> DEFAULT_NETWORK
-
ENABLED
public static final BasicProperty<Boolean,NetworkDTO> ENABLED
-
PARENT_CONFIGURATION
public static final BasicProperty<ConfigurationDetailedVO,NetworkDTO> PARENT_CONFIGURATION
-
-
Constructor Detail
-
NetworkDTO
public NetworkDTO()
-
NetworkDTO
public NetworkDTO(Long id)
-
NetworkDTO
public NetworkDTO(Property<T,? super NetworkDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityDTO
-
getCreationDate
public DateTime getCreationDate()
-
setCreationDate
public void setCreationDate(DateTime creationDate)
-
isDefaultNetwork
public boolean isDefaultNetwork()
-
setDefaultNetwork
public void setDefaultNetwork(boolean defaultNetwork)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getParentConfiguration
public ConfigurationDetailedVO getParentConfiguration()
-
setParentConfiguration
public void setParentConfiguration(ConfigurationDetailedVO parentConfiguration)
-
-