- All Known Subinterfaces:
IAllowedValuesConstraint,IAssembly,IAssemblyDefinition,IAssemblyInstance,IAssemblyInstanceAbsolute,IAssemblyInstanceGrouped,IBindingDefinitionModel,IBindingDefinitionModelAssembly,IBoundDefinition,IBoundDefinitionFlag,IBoundDefinitionModel<ITEM>,IBoundDefinitionModelAssembly,IBoundDefinitionModelComplex,IBoundDefinitionModelField<ITEM>,IBoundDefinitionModelFieldComplex,IBoundInstanceFlag,IBoundInstanceModelAssembly,IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar,IBoundInstanceModelGroupedAssembly,IBoundInstanceModelGroupedField,IBoundInstanceModelGroupedNamed,IBoundInstanceModelNamed<ITEM>,ICardinalityConstraint,IConfigurableMessageConstraint,IConstraint,IDefinition,IExpectConstraint,IFeatureContainerFlag<FI>,IFeatureDefinitionInstanceInlined<DEFINITION,,INSTANCE> IFeatureDefinitionReferenceInstance<DEFINITION,,INSTANCE> IField,IFieldDefinition,IFieldInstance,IFieldInstanceAbsolute,IFieldInstanceGrouped,IFlag,IFlagDefinition,IFlagInstance,IIndexConstraint,IIndexHasKeyConstraint,IKeyConstraint,IMatchesConstraint,IModelDefinition,INamedInstance,INamedModelInstance,INamedModelInstanceAbsolute,INamedModelInstanceGrouped,IReportConstraint,IUniqueConstraint,IValuedDefinition,IValuedInstance
- All Known Implementing Classes:
AbstractAssemblyInstance,AbstractFieldInstance,AbstractFlagInstance,AbstractGlobalAssemblyDefinition,AbstractGlobalDefinition,AbstractGlobalFieldDefinition,AbstractGlobalFlagDefinition,AbstractInlineAssemblyDefinition,AbstractInlineFieldDefinition,AbstractInlineFlagDefinition,AbstractNamedInstance,AbstractNamedModelInstance
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A marker interface for implementations that supports the mapping of a
namespace valued key to a set of values.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classRepresents a property key based on a name and a namespace. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the mapping of property key to values.Get the values associated with a given property key.default booleanDetermine if a property is defined.default booleanhasPropertyValue(IAttributable.Key key, String value) Determine if a given property, with a givenkey, has the identifiedvalue.static IAttributable.KeyGet a property key based on the provided name and the default namespace.static IAttributable.KeyGet a property key based on the provided name and namespace.
-
Field Details
-
DEFAULT_PROPERY_NAMESPACE
The default key namespace for a property.- See Also:
-
-
Method Details
-
getProperties
Get the mapping of property key to values.- Returns:
- the mapping
-
hasProperty
Determine if a property is defined.- Parameters:
key- the key of the property- Returns:
trueif the property is defined orfalseotherwise
-
getPropertyValues
Get the values associated with a given property key.- Parameters:
key- the key of the property- Returns:
- the values or an empty set
-
hasPropertyValue
Determine if a given property, with a givenkey, has the identifiedvalue.- Parameters:
key- the key of the propertyvalue- the expected property value- Returns:
trueif the property value is defined orfalseotherwise
-
key
Get a property key based on the provided name and namespace.- Parameters:
name- the name portion of a property keynamespace- the namespace portion of a property key- Returns:
- the property key
-
key
Get a property key based on the provided name and the default namespace.- Parameters:
name- the name portion of a property key- Returns:
- the property key
- See Also:
-