byucc.edif
Interface Properties

All Known Implementing Classes:
NamedPropertyObject

public interface Properties

Defines an interface for objects that can be annotated with Properties.

Version:
$Id: Properties.java,v 1.4 2004/05/11 17:28:30 tsa6 Exp $
Author:
Welson Sun, Tyler Anderson

Method Summary
 void addProperty(Property p)
          This method is used to add Properties to the object.
 Property getProperty(java.lang.String str)
          This method is used to obtain a property from the object.
 PropertyList getPropertyList()
          This method returns a list of the object properties.
 

Method Detail

addProperty

public void addProperty(Property p)
This method is used to add Properties to the object.

Parameters:
p - The property to add

getProperty

public Property getProperty(java.lang.String str)
This method is used to obtain a property from the object. The string parameter indicates the property name that is wanted.

Parameters:
str - Specifies the desired property to grab

getPropertyList

public PropertyList getPropertyList()
This method returns a list of the object properties.

Returns:
A PropertyList Object containing all the properties for the interfacing object