@properties = $session->getAttributeNames( $class )

The getAttributeNames() function is an alias for getAttributes(). The section “getAttributes” on page 80 provides additional information.

The getAttributeNames() function gets the list of all attributes for the specified class.

Attributes are properties that are not relations. For class Router, Vendor is an attribute but ComposedOf is not, however, both are properties. The getAttributeTypes() call returns the types of these attributes.

 @list = $session->getAttributeNames( "Router" );