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 setRequired(bool r)
It tells if the property is required or not. 
 
bool isRequired() const 
It returns true if the attribute is required, otherwise it returns false. 
 
bool m_isAutoNumber
A flag that indicates if this is an autonumber or serial type. 
 
An atomic property like an integer or double. 
 
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
void setAutoNumber(bool a)
It tells if the property is an autonumber or not. 
 
std::string * getDefaultValue() const 
It returns the default value associated to the property, or NULL if none is associated. 
 
std::string * m_defaultValue
Default value. 
 
It models a property definition. 
 
bool m_isRequired
This flag indicates if the attribute is required or not. 
 
It models a property definition. 
 
bool isAutoNumber() const 
It returns true if the attribute is an autonumber, otherwise it returns false.