1 7 8 package com.sun.corba.se.impl.monitoring; 9 10 import com.sun.corba.se.spi.monitoring.MonitoredAttributeInfo; 11 12 public class MonitoredAttributeInfoImpl implements MonitoredAttributeInfo { 13 private final String description; 14 private final Class type; 15 private final boolean writableFlag, statisticFlag; 16 17 MonitoredAttributeInfoImpl( String description, Class type, 18 boolean isWritable, boolean isStatistic ) 19 { 20 this.description = description; 21 this.type = type; 22 this.writableFlag = isWritable; 23 this.statisticFlag = isStatistic; 24 } 25 26 public String getDescription( ) { 27 return this.description; 28 } 29 30 public Class type( ) { 31 return this.type; 32 } 33 34 public boolean isWritable( ) { 35 return this.writableFlag; 36 } 37 38 public boolean isStatistic( ) { 39 return this.statisticFlag; 40 } 41 } 42 43 44 | Popular Tags |