Package org.cyclos.model.utils
Class NumberGenerationDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.utils.NumberGenerationDTO
-
- All Implemented Interfaces:
Serializable
public class NumberGenerationDTO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Integer,NumberGenerationDTO>PAD_LENGTHstatic BasicProperty<String,NumberGenerationDTO>PREFIXstatic BasicProperty<String,NumberGenerationDTO>SUFFIX
-
Constructor Summary
Constructors Constructor Description NumberGenerationDTO()NumberGenerationDTO(Property<T,? super NumberGenerationDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()IntegergetPadLength()StringgetPrefix()StringgetSuffix()voidsetPadLength(Integer padLength)voidsetPrefix(String prefix)voidsetSuffix(String suffix)StringtoString()-
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
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
PAD_LENGTH
public static final BasicProperty<Integer,NumberGenerationDTO> PAD_LENGTH
-
PREFIX
public static final BasicProperty<String,NumberGenerationDTO> PREFIX
-
SUFFIX
public static final BasicProperty<String,NumberGenerationDTO> SUFFIX
-
-
Constructor Detail
-
NumberGenerationDTO
public NumberGenerationDTO()
-
NumberGenerationDTO
public NumberGenerationDTO(Property<T,? super NumberGenerationDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getPadLength
public Integer getPadLength()
-
setPadLength
public void setPadLength(Integer padLength)
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getSuffix
public String getSuffix()
-
setSuffix
public void setSuffix(String suffix)
-
-