1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
6 #include "Config_AttributeMessage.h"
8 Config_AttributeMessage::Config_AttributeMessage(const Events_ID theId, const void* theParent)
9 : Events_Message(theId, theParent)
11 myAttributeId = ""; // Attribute unique id
12 myFeatureId = ""; // Feature unique id
13 myIsObligatory = true;
14 myIsConcealment = false;
17 Config_AttributeMessage::~Config_AttributeMessage()
22 const std::string& Config_AttributeMessage::featureId() const
27 void Config_AttributeMessage::setFeatureId(const std::string& theId)
32 const std::string& Config_AttributeMessage::attributeId() const
37 void Config_AttributeMessage::setAttributeId(const std::string& theId)
39 myAttributeId = theId;
42 bool Config_AttributeMessage::isConcealment() const
44 return myIsConcealment;
47 void Config_AttributeMessage::setConcealment(bool theConcealment)
49 this->myIsConcealment = theConcealment;
52 bool Config_AttributeMessage::isObligatory() const
54 return myIsObligatory;
57 void Config_AttributeMessage::setObligatory(bool theObligatory)
59 this->myIsObligatory = theObligatory;