1 18 package org.osgi.service.metatype; 19 20 import java.io.IOException ; 21 import java.io.InputStream ; 22 23 28 public interface ObjectClassDefinition { 29 35 public static final int REQUIRED = 1; 36 42 public static final int OPTIONAL = 2; 43 49 public static final int ALL = 0xFFFFFFFF; 50 51 58 public String getName(); 59 60 78 public String getID(); 79 80 87 public String getDescription(); 88 89 101 public AttributeDefinition[] getAttributeDefinitions(int filter); 102 103 120 public InputStream getIcon(int size) throws IOException ; 121 } 122 | Popular Tags |