ch.akuhn.fame.fm3
Class PackageDescription

java.lang.Object
  extended by ch.akuhn.fame.fm3.Element
      extended by ch.akuhn.fame.fm3.PackageDescription
All Implemented Interfaces:
Named, Nested

public class PackageDescription
extends Element

Holds meta-information about packaging.

subclasses NamedElement with attributes

with these constraints

Author:
Adrian Kuhn

Field Summary
static String NAME
           
 
Constructor Summary
PackageDescription()
           
PackageDescription(String name)
           
 
Method Summary
 void addElement(MetaDescription instance)
           
 void checkConstraints(Warnings warnings)
           
 Collection<MetaDescription> getClasses()
           
 Collection<PropertyDescription> getExtensions()
           
 Element getOwner()
          Returns the owner of an element, or null.
 void setClasses(Collection<MetaDescription> classes)
           
 void setExtensions(Collection<PropertyDescription> extensions)
           
 
Methods inherited from class ch.akuhn.fame.fm3.Element
getFullname, getName, setName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

PackageDescription

public PackageDescription()

PackageDescription

public PackageDescription(String name)
Method Detail

addElement

public void addElement(MetaDescription instance)

checkConstraints

public void checkConstraints(Warnings warnings)

getClasses

public Collection<MetaDescription> getClasses()

getExtensions

public Collection<PropertyDescription> getExtensions()

getOwner

public Element getOwner()
Description copied from interface: Nested
Returns the owner of an element, or null. If a class implements both Owned and Named, the instances returned by this method must implement Named as well.

Specified by:
getOwner in interface Nested
Specified by:
getOwner in class Element
Returns:
may return null

setClasses

public void setClasses(Collection<MetaDescription> classes)

setExtensions

public void setExtensions(Collection<PropertyDescription> extensions)