1 19 package org.openharmonise.vfs.search; 20 21 29 public class Order { 30 31 34 private String m_sPropNamespace = null; 35 36 39 private String m_sPropName = null; 40 41 44 private String m_sDirection = "ASC"; 45 46 49 public static final String ASC = "asc"; 50 51 54 public static final String DESC = "desc"; 55 56 62 public Order(String sPropNamespace, String sPropName) { 63 super(); 64 this.m_sPropNamespace = sPropNamespace; 65 this.m_sPropName = sPropName; 66 } 67 68 77 public Order(String sPropNamespace, String sPropName, String direction) { 78 super(); 79 this.m_sPropNamespace = sPropNamespace; 80 this.m_sPropName = sPropName; 81 this.m_sDirection = direction; 82 } 83 84 89 public String getPropNamespaceURI() { 90 return this.m_sPropNamespace; 91 } 92 93 98 public String getPropName() { 99 return this.m_sPropName; 100 } 101 102 107 public String getDirection() { 108 return this.m_sDirection; 109 } 110 111 } 112 | Popular Tags |