org.oclc.da.gdfr.registryprototype
Interface StructuredDataObject

All Superinterfaces:
java.lang.Cloneable, DataObject
All Known Subinterfaces:
AdminData, CollectionItem, Content
All Known Implementing Classes:
BasicStructuredObject, StubStructuredObject

public interface StructuredDataObject
extends DataObject


Method Summary
 java.lang.Object[] getAttr(java.lang.String name)
          Gets the attribute with the given name
 boolean setAttr(java.lang.String name, java.lang.String value)
          Sets the attribute specified with the given text value
 boolean setAttr(java.lang.String name, java.lang.String[] values)
          Sets a reoccuring attribute with the given values
 boolean setAttr(java.lang.String name, StructuredDataObject value)
          Sets an attribute with a complex value
 boolean setAttr(java.lang.String name, StructuredDataObject[] values)
          Sets a reoccuring attribute with complex values
 
Methods inherited from interface org.oclc.da.gdfr.registryprototype.DataObject
getBytestream, setBytestream
 

Method Detail

setAttr

boolean setAttr(java.lang.String name,
                java.lang.String value)
Sets the attribute specified with the given text value

Parameters:
name - The name of the attribute to set
value - The value to give the attribute
Returns:
true if successful, false otherwise

setAttr

boolean setAttr(java.lang.String name,
                java.lang.String[] values)
Sets a reoccuring attribute with the given values

Parameters:
name - The attribute to set
values - The values to assign
Returns:
true if successful, false otherwise

setAttr

boolean setAttr(java.lang.String name,
                StructuredDataObject value)
Sets an attribute with a complex value

Parameters:
name - The attribute to set
value - The complex element to use
Returns:
true if successful, false otherwise

setAttr

boolean setAttr(java.lang.String name,
                StructuredDataObject[] values)
Sets a reoccuring attribute with complex values

Parameters:
name - The attribute to set
values - The complex elements to use
Returns:
true if successful, false otherwise

getAttr

java.lang.Object[] getAttr(java.lang.String name)
Gets the attribute with the given name

Parameters:
name - The name of the attribute to get
Returns:
The value of the given attribute


Copyright © 2008 OCLC Online Computer Library Center, Inc.. All Rights Reserved.