1 9 package org.jboss.portal.common.command; 10 11 15 public interface Configurator 16 { 17 boolean contains(AttributeType attribute); 18 19 void setObject(AttributeType attribute, Object value) throws NoSuchAttachmentException; 20 void setInt(AttributeType attribute, int value) throws NoSuchAttachmentException; 21 void setBoolean(AttributeType attribute, boolean value) throws NoSuchAttachmentException; 22 void setFloat(AttributeType attribute, float value) throws NoSuchAttachmentException; 23 void setLong(AttributeType attribute, long value) throws NoSuchAttachmentException; 24 void setDouble(AttributeType attribute, double value) throws NoSuchAttachmentException; 25 void setChar(AttributeType attribute, char value) throws NoSuchAttachmentException; 26 void setShort(AttributeType attribute, short value) throws NoSuchAttachmentException; 27 void setByte(AttributeType attribute, byte value) throws NoSuchAttachmentException; 28 29 Object getObject(AttributeType attribute) throws NoSuchAttachmentException; 30 int getInt(AttributeType attribute) throws NoSuchAttachmentException; 31 boolean getBoolean(AttributeType attribute) throws NoSuchAttachmentException; 32 float getFloat(AttributeType attribute) throws NoSuchAttachmentException; 33 long getLong(AttributeType attribute) throws NoSuchAttachmentException; 34 double getDouble(AttributeType attribute) throws NoSuchAttachmentException; 35 char getChar(AttributeType attribute) throws NoSuchAttachmentException; 36 short getShort(AttributeType attribute) throws NoSuchAttachmentException; 37 byte getByte(AttributeType attribute) throws NoSuchAttachmentException; 38 } 39 | Popular Tags |