FileDocCategorySizeDatePackage
MonitoredAttributeInfoImpl.javaAPI DocJava SE 5 API1080Fri Aug 26 14:54:26 BST 2005com.sun.corba.se.impl.monitoring

MonitoredAttributeInfoImpl.java

/*
 * @(#)MonitoredAttributeInfoImpl.java	1.2 03/12/19
 * 
 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.sun.corba.se.impl.monitoring;

import com.sun.corba.se.spi.monitoring.MonitoredAttributeInfo;

public class MonitoredAttributeInfoImpl implements MonitoredAttributeInfo {
    private final String description;
    private final Class type;
    private final boolean writableFlag, statisticFlag;

    MonitoredAttributeInfoImpl( String description, Class type, 
        boolean isWritable, boolean isStatistic ) 
    {
        this.description = description; 
        this.type = type;
        this.writableFlag = isWritable;
        this.statisticFlag = isStatistic;
    }

    public String getDescription( ) { 
        return this.description;
    }

    public Class type( ) { 
        return this.type;
    }

    public boolean isWritable( ) {
         return this.writableFlag;
    }

    public boolean isStatistic( ) {
         return this.statisticFlag;
    }
}