public class ArchetypeAttributesDefinition extends java.lang.Object implements java.lang.Iterable<ArchetypeAttributeDefinition>
ArchetypeAttributeDefinitions
.
Corresponds to a list of <attribute> definitions in types.xml.Constructor and Description |
---|
ArchetypeAttributesDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
add(ArchetypeAttributeDefinition archetypeAttribute)
Adds an
ArchetypeAttributeDefinition . |
boolean |
isEmpty()
Returns whether no attribute definitions exist.
|
java.util.Iterator<ArchetypeAttributeDefinition> |
iterator() |
boolean |
matches(Attributes baseObject)
Checks whether an
Attributes instance matches all type
attributes. |
public void add(@NotNull ArchetypeAttributeDefinition archetypeAttribute)
ArchetypeAttributeDefinition
.archetypeAttribute
- the definition to addpublic boolean matches(@NotNull Attributes baseObject)
Attributes
instance matches all type
attributes.baseObject
- the base object to checkpublic java.util.Iterator<ArchetypeAttributeDefinition> iterator()
iterator
in interface java.lang.Iterable<ArchetypeAttributeDefinition>
public boolean isEmpty()