Gridarta 9211
API Documentation

net.sf.gridarta.model.archetypetype
Class ArchetypeAttributes

java.lang.Object
  extended by net.sf.gridarta.model.archetypetype.ArchetypeAttributes
All Implemented Interfaces:
Iterable<ArchetypeAttribute>

public class ArchetypeAttributes
extends Object
implements Iterable<ArchetypeAttribute>

A set of ArchetypeAttributes.

Author:
Andreas Kirschbaum

Field Summary
private  List<ArchetypeAttribute> archetypeAttributes
          The ArchetypeAttributes.
 
Constructor Summary
ArchetypeAttributes()
           
 
Method Summary
 void add(ArchetypeAttribute archetypeAttribute)
          Adds an ArchetypeAttribute.
 void addAll(ArchetypeAttributes archetypeAttributes)
          Adds all ArchetypeAttributes of another archetype attributes to this archetype attributes.
 boolean isEmpty()
          Returns whether no ArchetypeAttributes exist.
 Iterator<ArchetypeAttribute> iterator()
          
 void setSectionNames(SectionNames sectionNames)
          Updates the section names of all archetype attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archetypeAttributes

@NotNull
private final List<ArchetypeAttribute> archetypeAttributes
The ArchetypeAttributes.

Constructor Detail

ArchetypeAttributes

public ArchetypeAttributes()
Method Detail

add

public void add(@NotNull
                ArchetypeAttribute archetypeAttribute)
Adds an ArchetypeAttribute.

Parameters:
archetypeAttribute - the archetype attribute

addAll

public void addAll(@NotNull
                   ArchetypeAttributes archetypeAttributes)
Adds all ArchetypeAttributes of another archetype attributes to this archetype attributes.

Parameters:
archetypeAttributes - the other archetype attributes

iterator

public Iterator<ArchetypeAttribute> iterator()

Specified by:
iterator in interface Iterable<ArchetypeAttribute>

isEmpty

public boolean isEmpty()
Returns whether no ArchetypeAttributes exist.

Returns:
whether no archetype attributes exist

setSectionNames

public void setSectionNames(@NotNull
                            SectionNames sectionNames)
Updates the section names of all archetype attributes.

Parameters:
sectionNames - the section names to use

Gridarta 9211
API Documentation

SourceForge.net Logo Support This Project freshmeat.net Valid CSS! Feedback: webmaster