1 20 package org.jahia.data.templates; 21 22 23 29 public class JahiaTemplateDef { 30 31 32 private String m_Name; 33 34 private String m_Filename; 35 36 private String m_DisplayName; 37 38 private boolean m_Visible; 39 40 private boolean m_IsHomePage; 41 42 43 47 public JahiaTemplateDef ( 48 String name, 49 String filename, 50 String displayName, 51 boolean visible, 52 boolean isHomePage 53 ) 54 { 55 m_Name = name; 56 m_Filename= filename; 57 m_DisplayName = displayName; 58 m_Visible = visible; 59 m_IsHomePage = isHomePage; 60 } 61 62 63 68 public String getName(){ 69 70 return m_Name; 71 } 72 73 74 78 public void setName(String name){ 79 80 m_Name = name; 81 } 82 83 84 89 public String getFileName(){ 90 91 return m_Filename; 92 } 93 94 95 99 public void setFilename(String filename){ 100 101 m_Filename = filename; 102 } 103 104 105 110 public String getDisplayName(){ 111 112 return m_DisplayName; 113 } 114 115 116 120 public void setDisplayName(String displayName){ 121 122 m_DisplayName = displayName; 123 } 124 125 130 public boolean isVisible(){ 131 132 return m_Visible; 133 134 } 135 136 137 142 public void setVisible(boolean visible){ 143 144 m_Visible = visible; 145 146 } 147 148 149 154 public boolean isHomePage(){ 155 156 return m_IsHomePage; 157 158 } 159 160 161 166 public void setIsHomePage(boolean isHomePage){ 167 168 m_IsHomePage = isHomePage; 169 170 } 171 172 173 } | Popular Tags |