Class AgreementDTO
- 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.access.agreements.AgreementDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
public class AgreementDTO extends ConfigurationEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,AgreementDTO>CONTENTstatic BasicProperty<Integer,AgreementDTO>CURRENT_VERSIONstatic BasicProperty<Boolean,AgreementDTO>REQUIRED-
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 AgreementDTO()AgreementDTO(Long id)AgreementDTO(Property<T,? super AgreementDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetContent()IntegergetCurrentVersion()booleanisRequired()voidsetContent(String content)voidsetCurrentVersion(Integer currentVersion)voidsetRequired(boolean required)-
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
-
CONTENT
public static final BasicProperty<String,AgreementDTO> CONTENT
-
CURRENT_VERSION
public static final BasicProperty<Integer,AgreementDTO> CURRENT_VERSION
-
REQUIRED
public static final BasicProperty<Boolean,AgreementDTO> REQUIRED
-
-
Constructor Detail
-
AgreementDTO
public AgreementDTO()
-
AgreementDTO
public AgreementDTO(Long id)
-
AgreementDTO
public AgreementDTO(Property<T,? super AgreementDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityDTO
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getCurrentVersion
public Integer getCurrentVersion()
-
setCurrentVersion
public void setCurrentVersion(Integer currentVersion)
-
isRequired
public boolean isRequired()
-
setRequired
public void setRequired(boolean required)
-
-