1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 #include "Config_AttributeMessage.h"
5 Config_AttributeMessage::Config_AttributeMessage(const Events_ID theId, const void* theParent)
6 : Events_Message(theId, theParent)
8 myAttributeId = std::string(); // Attribute unique id
9 myFeatureId = std::string(); // Feature unique id
10 myIsObligatory = true;
11 myIsConcealment = false;
12 myCaseId = std::string();
15 Config_AttributeMessage::~Config_AttributeMessage()
20 const std::string& Config_AttributeMessage::featureId() const
25 void Config_AttributeMessage::setFeatureId(const std::string& theId)
30 const std::string& Config_AttributeMessage::attributeId() const
35 void Config_AttributeMessage::setAttributeId(const std::string& theId)
37 myAttributeId = theId;
40 bool Config_AttributeMessage::isConcealment() const
42 return myIsConcealment;
45 void Config_AttributeMessage::setConcealment(bool theConcealment)
47 this->myIsConcealment = theConcealment;
50 bool Config_AttributeMessage::isObligatory() const
52 return myIsObligatory;
55 void Config_AttributeMessage::setObligatory(bool theObligatory)
57 this->myIsObligatory = theObligatory;
60 const std::string& Config_AttributeMessage::caseId() const
65 const std::string& Config_AttributeMessage::switchId() const
70 void Config_AttributeMessage::setCaseId(const std::string& theId)
72 this->myCaseId = theId;
75 void Config_AttributeMessage::setSwitchId(const std::string& theId)
77 this->mySwitchId = theId;