KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > monitoring > MonitoredAttributeInfo


1 /*
2  * @(#)MonitoredAttributeInfo.java 1.2 03/12/19
3  *
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 Puttaswamy
15  * </p>
16  * <p>
17  * Monitored AttributeInfo contains the meta information of the Monitored
18  * Attribute.
19  * </p>
20  */

21 public interface MonitoredAttributeInfo {
22
23   ///////////////////////////////////////
24
// operations
25

26 /**
27  * <p>
28  * If the Attribute is writable from ASAdmin then isWritable() will return
29  * true.
30  * </p>
31  * <p>
32  *
33  * @return a boolean with true or false
34  * </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 false
44  * </p>
45  */

46     public boolean isStatistic();
47 /**
48  * <p>
49  * Class Type: We will allow only basic class types: 1)Boolean 2)Integer
50  * 3)Byte 4)Long 5)Float 6)Double 7)String 8)Character
51  * </p>
52  * <p>
53  *
54  * @return a Class Type
55  * </p>
56  */

57     public Class JavaDoc type();
58 /**
59  * <p>
60  * Get's the description for the Monitored Attribute.
61  * </p>
62  * <p>
63  *
64  * @return a String with description
65  * </p>
66  */

67     public String JavaDoc getDescription();
68
69 } // end MonitoredAttributeInfo
70
Popular Tags