Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 349711 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/equinox/metatype/i1/Attribute.java (+11 lines)
Added Link Here
1
package org.eclipse.equinox.metatype.i1;
2
3
import java.util.List;
4
5
public interface Attribute extends Extendable {
6
	AttributeDefinition getAttributeDefinition();
7
8
	String getContent();
9
10
	List<String> getValues();
11
}
(-)src/org/eclipse/equinox/metatype/i1/AttributeDefinition.java (+5 lines)
Added Link Here
1
package org.eclipse.equinox.metatype.i1;
2
3
public interface AttributeDefinition extends org.osgi.service.metatype.AttributeDefinition, Extendable {
4
	// Empty interface to support extendable attribute definitions.
5
}
(-)src/org/eclipse/equinox/metatype/i1/Designate.java (+15 lines)
Added Link Here
1
package org.eclipse.equinox.metatype.i1;
2
3
public interface Designate extends Extendable {
4
	String getBundle();
5
6
	String getFactoryPid();
7
8
	boolean isMerge();
9
10
	boolean isOptional();
11
12
	Object getObject();
13
14
	String getPid();
15
}
(-)src/org/eclipse/equinox/metatype/i1/Extendable.java (+10 lines)
Added Link Here
1
package org.eclipse.equinox.metatype.i1;
2
3
import java.util.Map;
4
import java.util.Set;
5
6
public interface Extendable {
7
	Map<String, Object> getExtensionAttributes(String id);
8
9
	Set<String> getExtensionIds();
10
}
(-)src/org/eclipse/equinox/metatype/i1/MetaTypeInformation.java (+9 lines)
Added Link Here
1
package org.eclipse.equinox.metatype.i1;
2
3
import java.util.List;
4
5
public interface MetaTypeInformation extends org.osgi.service.metatype.MetaTypeInformation {
6
	List<Designate> getDesignates();
7
8
	ObjectClassDefinition getEquinoxObjectClassDefinition(String id, String locale);
9
}
(-)src/org/eclipse/equinox/metatype/i1/MetaTypeService.java (+7 lines)
Added Link Here
1
package org.eclipse.equinox.metatype.i1;
2
3
import org.osgi.framework.Bundle;
4
5
public interface MetaTypeService extends org.osgi.service.metatype.MetaTypeService {
6
	MetaTypeInformation getEquinoxMetaTypeInformation(Bundle bundle);
7
}
(-)src/org/eclipse/equinox/metatype/i1/Object.java (+9 lines)
Added Link Here
1
package org.eclipse.equinox.metatype.i1;
2
3
import java.util.List;
4
5
public interface Object extends Extendable {
6
	List<Attribute> getAttributes();
7
8
	ObjectClassDefinition getObjectClassDefinition();
9
}
(-)src/org/eclipse/equinox/metatype/i1/ObjectClassDefinition.java (+9 lines)
Added Link Here
1
package org.eclipse.equinox.metatype.i1;
2
3
import java.util.List;
4
5
public interface ObjectClassDefinition extends org.osgi.service.metatype.ObjectClassDefinition, Extendable {
6
	List<Designate> getDesignates();
7
8
	List<AttributeDefinition> getEquinoxAttributeDefinitions(int filter);
9
}

Return to bug 349711