1 22 package org.jboss.test.mx.mxbean.support; 23 24 import java.math.BigDecimal ; 25 import java.math.BigInteger ; 26 import java.util.Date ; 27 28 import javax.management.ObjectName ; 29 30 36 public class NullSimpleObject implements SimpleInterface 37 { 38 public BigDecimal getBigDecimal() 39 { 40 return null; 41 } 42 43 public BigInteger getBigInteger() 44 { 45 return null; 46 } 47 48 public Boolean getBoolean() 49 { 50 return null; 51 } 52 53 public Byte getByte() 54 { 55 return null; 56 } 57 58 public Character getCharacter() 59 { 60 return null; 61 } 62 63 public Date getDate() 64 { 65 return null; 66 } 67 68 public Double getDouble() 69 { 70 return null; 71 } 72 73 public Float getFloat() 74 { 75 return null; 76 } 77 78 public Integer getInteger() 79 { 80 return null; 81 } 82 83 public Long getLong() 84 { 85 return null; 86 } 87 88 public ObjectName getObjectName() 89 { 90 return null; 91 } 92 93 public byte getPrimitiveByte() 94 { 95 return primitiveByteValue; 96 } 97 98 public char getPrimitiveChar() 99 { 100 return primitiveCharValue; 101 } 102 103 public double getPrimitiveDouble() 104 { 105 return primitiveDoubleValue; 106 } 107 108 public float getPrimitiveFloat() 109 { 110 return primitiveFloatValue; 111 } 112 113 public int getPrimitiveInt() 114 { 115 return primitiveIntValue; 116 } 117 118 public long getPrimitiveLong() 119 { 120 return primitiveLongValue; 121 } 122 123 public short getPrimitiveShort() 124 { 125 return primitiveShortValue; 126 } 127 128 public Short getShort() 129 { 130 return null; 131 } 132 133 public String getString() 134 { 135 return null; 136 } 137 138 public boolean isPrimitiveBoolean() 139 { 140 return primitiveBooleanValue; 141 } 142 } 143 | Popular Tags |