17 using erminas.SmartAPI.CMS.Converter;
19 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
23 bool IsHitList {
get;
set; }
25 bool IsNotVisibleOnPublishedPage {
get;
set; }
27 bool IsReferenceField {
get;
set; }
29 ILanguageDependentValue<ILanguageVariant> LanguageVariantOfReferencedElement {
get; }
34 internal class ProjectContent : ContentClassElement, IProjectContent
36 internal ProjectContent(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
45 [RedDot(
"eltislistentry")]
48 get {
return GetAttributeValue<bool>(); }
49 set { SetAttributeValue(value); }
52 [RedDot(
"eltinvisibleinpage")]
53 public bool IsNotVisibleOnPublishedPage
55 get {
return GetAttributeValue<bool>(); }
56 set { SetAttributeValue(value); }
59 [RedDot(
"eltisreffield")]
60 public bool IsReferenceField
62 get {
return GetAttributeValue<bool>(); }
63 set { SetAttributeValue(value); }
66 [RedDot(
"eltlanguagevariantid", ConverterType = typeof (LanguageVariantConverter))]
67 public ILanguageDependentValue<ILanguageVariant> LanguageVariantOfReferencedElement
69 get {
return GetAttributeValue<ILanguageDependentValue<ILanguageVariant>>(); }
72 [RedDot(
"__elementreference", ConverterType = typeof (ElementReferenceConverter))]
73 public IContentClassElement ReferencedElement
75 get {
return GetAttributeValue<IContentClassElement>(); }
76 set { SetAttributeValue(value); }