00001 00011 // graspdb 00012 #include "graspdb/Entity.h" 00013 00014 using namespace rail::pick_and_place::graspdb; 00015 00016 Entity::Entity(const uint32_t id, const time_t created) 00017 { 00018 id_ = id; 00019 created_ = created; 00020 } 00021 00022 uint32_t Entity::getID() const 00023 { 00024 return id_; 00025 } 00026 00027 void Entity::setID(const uint32_t id) 00028 { 00029 id_ = id; 00030 } 00031 00032 time_t Entity::getCreated() const 00033 { 00034 return created_; 00035 } 00036 00037 void Entity::setCreated(const time_t created) 00038 { 00039 created_ = created; 00040 }