com.esri.aims.mtier.model.metadata.publish
Class MetadataRelationshipCollection

java.lang.Object
  extended by com.esri.aims.mtier.model.metadata.publish.MetadataRelationshipCollection

public class MetadataRelationshipCollection
extends Object

Represents a collection of MetadataRelation objects.


Constructor Summary
MetadataRelationshipCollection()
          Constructs an instance of a MetadataRelationshipCollection object.
 
Method Summary
 boolean addMetadataChild(MetadataRelationship metadataRelationship)
          Adds the given MetadataRelationship object as a metadata child to this collection.
 boolean addMetadataSibling(MetadataRelationship metadataRelationship)
          Adds the given MetadataRelationship object as a metadata sibling to this collection.
 Element[] getMetadataChildElements()
          Returns an array of metadata child elements.
 Element[] getMetadataSiblingElements()
          Returns an array of metadata sibling elements.
 int metadataChildSize()
          Returns the size of the metadata child object.
 int metadataSiblingSize()
          Returns the size of the metadata siblings object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataRelationshipCollection

public MetadataRelationshipCollection()
Constructs an instance of a MetadataRelationshipCollection object.

Method Detail

addMetadataChild

public boolean addMetadataChild(MetadataRelationship metadataRelationship)
Adds the given MetadataRelationship object as a metadata child to this collection.

Parameters:
metadataRelationship - A MetadataRelationship to add this collection.

addMetadataSibling

public boolean addMetadataSibling(MetadataRelationship metadataRelationship)
Adds the given MetadataRelationship object as a metadata sibling to this collection.

Parameters:
metadataRelationship - A MetadataRelationship to add this collection.

metadataChildSize

public int metadataChildSize()
Returns the size of the metadata child object.


metadataSiblingSize

public int metadataSiblingSize()
Returns the size of the metadata siblings object.


getMetadataChildElements

public Element[] getMetadataChildElements()
Returns an array of metadata child elements.


getMetadataSiblingElements

public Element[] getMetadataSiblingElements()
Returns an array of metadata sibling elements.