public class ProductInfo extends Object implements SyncEntityInfo
User: Kirill, Date: 05.08.13 17:59
.Modifier and Type | Class and Description |
---|---|
static class |
ProductInfo.Fields
List of fields for ordering.
|
Modifier and Type | Field and Description |
---|---|
private String |
barcode
Regular field.
|
private boolean |
countedInPrice
Regular field.
|
private String |
custom |
private boolean |
deleted
True if entity was deleted.
|
private String |
description |
private String |
identifier
This field uniqly identifies entity.
|
private Date |
modified |
private String |
name
Regular field.
|
private long |
netto
Regular field.
|
private SalesUnit |
salesUnit
Regular field.
|
private String |
tax
Regular field.
|
private Integer |
version |
Constructor and Description |
---|
ProductInfo() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIdentifier, getVersion
@NotNull private boolean deleted
@NotNull(groups=IdentifierValidationGroup.class) @Size(max=50, min=1) @Pattern(regexp="^(?!^(PRN|AUX|CLOCK\\$|NUL|CON|COM\\d|LPT\\d|\\.\\.?)$)[^\\x00-\\x1f\\\\?*:\\\";|/<>]+$") private String identifier
@NotNull @Size(max=32, min=1) private String name
@NotNull @Size(max=32, min=1) private String barcode
@NotNull @Min(value=0L) private long netto
@NotNull @Size(max=50, min=1) @Pattern(regexp="^(?!^(PRN|AUX|CLOCK\\$|NUL|CON|COM\\d|LPT\\d|\\.\\.?)$)[^\\x00-\\x1f\\\\?*:\\\";|/<>]+$") private String tax
@NotNull private SalesUnit salesUnit
@NotNull private boolean countedInPrice
@Size(max=1024) private String description
@Size(max=65535) private String custom
private Integer version
@JournalDate private Date modified
Copyright © 2016. All rights reserved.