26 #ifndef __TERRALIB_DATATYPE_INTERNAL_SIMPLEPROPERTY_H
27 #define __TERRALIB_DATATYPE_INTERNAL_SIMPLEPROPERTY_H
68 bool isRequired =
false,
69 std::string* defaultValue = 0,
136 void setDefaultValue(std::string* d);
170 #endif // __TERRALIB_DATATYPE_INTERNAL_SIMPLEPROPERTY_H
void setAutoNumber(bool a)
It tells if the property is an autonumber or not.
An atomic property like an integer or double.
It models a property definition.
bool m_isRequired
This flag indicates if the attribute is required or not.
It models a property definition.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
bool isRequired() const
It returns true if the attribute is required, otherwise it returns false.
std::string * m_defaultValue
Default value.
void setRequired(bool r)
It tells if the property is required or not.
std::string * getDefaultValue() const
It returns the default value associated to the property, or NULL if none is associated.
bool isAutoNumber() const
It returns true if the attribute is an autonumber, otherwise it returns false.
bool m_isAutoNumber
A flag that indicates if this is an autonumber or serial type.