Class ArchetypeAttributeDefinition
- java.lang.Object
-
- net.sf.gridarta.model.archetypetype.ArchetypeAttributeDefinition
-
public class ArchetypeAttributeDefinition extends java.lang.ObjectHolds the key/value pair of an archetype attribute definition. Corresponds to a <attribute> entry in types.xml
-
-
Constructor Summary
Constructors Constructor Description ArchetypeAttributeDefinition(@NotNull java.lang.String key, @NotNull java.lang.String value)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(@NotNull Attributes baseObject)Returns whether a base object matches this attribute definition.@NotNull java.lang.StringtoString()
-
-
-
Method Detail
-
matches
public boolean matches(@NotNull @NotNull Attributes baseObject)Returns whether a base object matches this attribute definition.- Parameters:
baseObject- the base object- Returns:
- whether the base object matches
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-