Package ddf.catalog.data
Interface InjectableAttribute
public interface InjectableAttribute
Describes an 'injectable' attribute (i.e., an
AttributeDescriptor that should be injected
into specific MetacardTypes or into all MetacardTypes).
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of theAttributeDescriptorto be injected.Returns the names of theMetacardTypes into which this attribute should be injected.
-
Method Details
-
attribute
String attribute()Returns the name of theAttributeDescriptorto be injected.- Returns:
- the name of the
AttributeDescriptorto be injected
-
metacardTypes
Returns the names of theMetacardTypes into which this attribute should be injected.Should return an empty set if this attribute should be injected into all
MetacardTypes.- Returns:
- the names of the
MetacardTypes into which this attribute should be injected, or an empty set if this attribute should be injected into allMetacardTypes
-