18 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
22 bool IsEditingMandatory {
get;
set; }
24 bool IsHiddenInProjectStructure {
get;
set; }
26 bool IsLanguageIndependent {
get;
set; }
28 bool IsNotRelevantForWorklow {
get;
set; }
30 bool IsNotUsedInForm {
get;
set; }
33 internal class DeliveryServerConstraint : ContentClassElement, IDeliveryServerConstraint
35 internal DeliveryServerConstraint(
IContentClass contentClass, XmlElement xmlElement)
36 : base(contentClass, xmlElement)
45 [RedDot(
"eltrequired")]
46 public bool IsEditingMandatory
48 get {
return GetAttributeValue<bool>(); }
49 set { SetAttributeValue(value); }
52 [RedDot(
"eltinvisibleinclient")]
53 public bool IsHiddenInProjectStructure
55 get {
return GetAttributeValue<bool>(); }
56 set { SetAttributeValue(value); }
59 [RedDot(
"eltlanguageindependent")]
60 public bool IsLanguageIndependent
62 get {
return GetAttributeValue<bool>(); }
63 set { SetAttributeValue(value); }
66 [RedDot(
"eltignoreworkflow")]
67 public bool IsNotRelevantForWorklow
69 get {
return GetAttributeValue<bool>(); }
70 set { SetAttributeValue(value); }
73 [RedDot(
"elthideinform")]
74 public bool IsNotUsedInForm
76 get {
return GetAttributeValue<bool>(); }
77 set { SetAttributeValue(value); }