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(@NotNull ArchetypeAttributeDefinition archetypeAttribute)
Adds an
ArchetypeAttributeDefinition . |
boolean |
isEmpty()
Returns whether no attribute definitions exist.
|
java.util.Iterator<ArchetypeAttributeDefinition> |
iterator() |
boolean |
matches(@NotNull Attributes baseObject)
Checks whether an
Attributes instance matches all type
attributes. |
@NotNull java.lang.String |
toString() |
public void add(@NotNull @NotNull ArchetypeAttributeDefinition archetypeAttribute)
ArchetypeAttributeDefinition
.archetypeAttribute
- the definition to addpublic boolean matches(@NotNull @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()
@NotNull public @NotNull java.lang.String toString()
toString
in class java.lang.Object