<NUMBER> : Number field

Java class : leon.info.LyNumberFieldInfo

ROLE

This element describes a numeric attribute. Several numeric types are supported: short integer, integer, long integer, float, double. Information about that kind of field could be completed by a format, a minimum value, a maximum value, an increment, a number of decimals, a unit and a default value.

ATTRIBUTES

<!ATTLIST NUMBER
	  id ID #REQUIRED
	  local ( true | false) "false"
	  load ( true | false) "false"
	  notNull ( true | false) "false"
	  providerValue ( true | false) "false"
	  unit NMTOKEN #IMPLIED>
Attribute Mand. Description Default
id yes Number field identifier.  
local no Equivalent with the local mark: allows to specify that this field is local i.e. that it has no physical representation on a data provider. false
load no Equivalent with the load mark: indicates that the field must be loaded when sending load requests with no indication on the fields that must be loaded. false
notNull no Equivalent with the notNull mark: indicates that the field may not be null. When a new object is created, a value is automatically built for this field with the default value if no value has been specified. false
providerValue no Equivalent with the providerValue mark: allows to specify that the value of the field is given by the data provider. false
unit no Reference unit of the field among those defined in the dictionary of units of the field.  

ELEMENTS

<!ELEMENT NUMBER 
	  (((%A_F_BIND;), IMPORT?) |
	   PATH)?>
Element Mand. Mult. Description
A_F_BIND
no no Binding with the physical level.
IMPORT no no Allows to import a value (or a computation on a list of values) of a field from a pointed object by a relation of the same class.
PATH yes no Allows to compute the value of the field using a path.