Package ddf.catalog.data.impl
Class InjectableAttributeImpl
java.lang.Object
ddf.catalog.data.impl.InjectableAttributeImpl
- All Implemented Interfaces:
ddf.catalog.data.InjectableAttribute
-
Constructor Summary
ConstructorsConstructorDescriptionInjectableAttributeImpl(String attribute, Collection<String> metacardTypes) Constructs anInjectableAttributeImplwith the given attribute name and metacard type names. -
Method Summary
-
Constructor Details
-
InjectableAttributeImpl
Constructs anInjectableAttributeImplwith the given attribute name and metacard type names.If this attribute should be injected into all
MetacardTypes, thenmetacardTypesshould be null or empty.- Parameters:
attribute- the name of the attribute that thisInjectableAttributeImplrepresents, cannot be nullmetacardTypes- the names of theMetacardTypes into which the attribute namedattributeshould be injected, can be null- Throws:
IllegalArgumentException- ifattributeis null
-
-
Method Details
-
attribute
- Specified by:
attributein interfaceddf.catalog.data.InjectableAttribute
-
metacardTypes
- Specified by:
metacardTypesin interfaceddf.catalog.data.InjectableAttribute
-