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. import java.util.*;
  9. /**
  10. * <p>
  11. *
  12. * @author Hemanth Puttaswamy
  13. * </p>
  14. * <p>
  15. * Monitored AttributeInfo contains the meta information of the Monitored
  16. * Attribute.
  17. * </p>
  18. */
  19. public interface MonitoredAttributeInfo {
  20. ///////////////////////////////////////
  21. // operations
  22. /**
  23. * <p>
  24. * If the Attribute is writable from ASAdmin then isWritable() will return
  25. * true.
  26. * </p>
  27. * <p>
  28. *
  29. * @return a boolean with true or false
  30. * </p>
  31. */
  32. public boolean isWritable();
  33. /**
  34. * <p>
  35. * isStatistic() is true if the attribute is presented as a Statistic.
  36. * </p>
  37. * <p>
  38. *
  39. * @return a boolean with true or false
  40. * </p>
  41. */
  42. public boolean isStatistic();
  43. /**
  44. * <p>
  45. * Class Type: We will allow only basic class types: 1)Boolean 2)Integer
  46. * 3)Byte 4)Long 5)Float 6)Double 7)String 8)Character
  47. * </p>
  48. * <p>
  49. *
  50. * @return a Class Type
  51. * </p>
  52. */
  53. public Class type();
  54. /**
  55. * <p>
  56. * Get's the description for the Monitored Attribute.
  57. * </p>
  58. * <p>
  59. *
  60. * @return a String with description
  61. * </p>
  62. */
  63. public String getDescription();
  64. } // end MonitoredAttributeInfo