public class ArchetypeAttributeDefinition
extends java.lang.Object
Constructor and Description |
---|
ArchetypeAttributeDefinition(@NotNull java.lang.String key,
@NotNull java.lang.String value)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(@NotNull Attributes baseObject)
Returns whether a base object matches this attribute definition.
|
@NotNull java.lang.String |
toString() |
public ArchetypeAttributeDefinition(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
key
- the keyvalue
- the valuepublic boolean matches(@NotNull @NotNull Attributes baseObject)
baseObject
- the base object@NotNull public @NotNull java.lang.String toString()
toString
in class java.lang.Object