1 28 29 package com.idaremedia.antx.ownhelpers; 30 31 import com.idaremedia.antx.helpers.InnerNameValuePair; 32 import com.idaremedia.antx.parameters.Conditional; 33 34 44 45 public class ConditionalInnerNameValuePair extends InnerNameValuePair 46 implements Conditional 47 { 48 51 public ConditionalInnerNameValuePair() 52 { 53 super(); 54 } 55 56 57 58 61 public ConditionalInnerNameValuePair(String name, String value) 62 { 63 super(name,value); 64 } 65 66 67 68 72 public void setIf(String property) 73 { 74 m_ifProperty = property; 75 } 76 77 81 public String getIfProperty() 82 { 83 return m_ifProperty; 84 } 85 86 87 91 public void setUnless(String property) 92 { 93 m_unProperty = property; 94 } 95 96 97 101 public String getUnlessProperty() 102 { 103 return m_unProperty; 104 } 105 106 107 private String m_ifProperty, m_unProperty; 108 } 109 110 | Popular Tags |