1 31 32 package org.opencms.search; 33 34 import org.opencms.util.CmsUUID; 35 36 47 public abstract class A_CmsIndexResource { 48 49 50 protected Object m_data; 51 52 53 protected CmsUUID m_id; 54 55 56 protected String m_mimeType; 57 58 59 protected String m_name; 60 61 62 protected String m_path; 63 64 65 protected int m_type; 66 67 75 public Object getData() { 76 77 return m_data; 78 } 79 80 86 public abstract String getDocumentKey(boolean withMimeType); 87 88 93 public CmsUUID getId() { 94 95 return m_id; 96 } 97 98 103 public String getMimetype() { 104 105 return m_mimeType; 106 } 107 108 113 public String getName() { 114 115 return m_name; 116 } 117 118 123 public String getRootPath() { 124 125 return m_path; 126 } 127 128 136 public int getType() { 137 138 return m_type; 139 } 140 } | Popular Tags |