1 /*2 * @(#)MonitoredAttributeInfo.java 1.2 03/12/193 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 package com.sun.corba.se.spi.monitoring;8 9 import java.util.*;10 11 /**12 * <p>13 * 14 * @author Hemanth Puttaswamy15 * </p>16 * <p>17 * Monitored AttributeInfo contains the meta information of the Monitored18 * Attribute.19 * </p>20 */21 public interface MonitoredAttributeInfo {22 23 ///////////////////////////////////////24 // operations25 26 /**27 * <p>28 * If the Attribute is writable from ASAdmin then isWritable() will return29 * true.30 * </p>31 * <p>32 * 33 * @return a boolean with true or false34 * </p>35 */36 public boolean isWritable();37 /**38 * <p>39 * isStatistic() is true if the attribute is presented as a Statistic.40 * </p>41 * <p>42 * 43 * @return a boolean with true or false44 * </p>45 */46 public boolean isStatistic();47 /**48 * <p>49 * Class Type: We will allow only basic class types: 1)Boolean 2)Integer50 * 3)Byte 4)Long 5)Float 6)Double 7)String 8)Character 51 * </p>52 * <p>53 * 54 * @return a Class Type55 * </p>56 */57 public Class type();58 /**59 * <p>60 * Get's the description for the Monitored Attribute.61 * </p>62 * <p>63 * 64 * @return a String with description65 * </p>66 */67 public String getDescription();68 69 } // end MonitoredAttributeInfo70