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