1 13 14 package mondrian.olap; 15 16 36 public interface Member extends OlapElement, Comparable { 37 38 45 Member getParentMember(); 46 47 Level getLevel(); 48 49 Hierarchy getHierarchy(); 50 51 55 String getParentUniqueName(); 56 57 60 MemberType getMemberType(); 61 62 enum MemberType { 63 UNKNOWN, 64 REGULAR, ALL, 66 MEASURE, 67 FORMULA, 68 72 NULL 73 } 74 75 79 void setName(String name); 80 81 82 boolean isAll(); 83 84 85 boolean isMeasure(); 86 87 88 boolean isNull(); 89 90 94 boolean isChildOrEqualTo(Member member); 95 96 99 boolean isCalculated(); 100 int getSolveOrder(); 101 Exp getExpression(); 102 103 106 Member[] getAncestorMembers(); 107 108 112 boolean isCalculatedInQuery(); 113 114 118 Object getPropertyValue(String propertyName); 119 120 124 Object getPropertyValue(String propertyName, boolean matchCase); 125 126 129 String getPropertyFormattedValue(String propertyName); 130 131 134 void setProperty(String name, Object value); 135 136 139 Property[] getProperties(); 140 141 144 int getOrdinal(); 145 146 150 Comparable getOrderKey(); 151 152 156 boolean isHidden(); 157 158 163 int getDepth(); 164 165 172 Member getDataMember(); 173 } 174 175 | Popular Tags |