org.jafer.osid.provider
Class Record

java.lang.Object
  extended by org.jafer.osid.provider.Record
All Implemented Interfaces:
java.io.Serializable, org.osid.repository.Record

public class Record
extends java.lang.Object
implements org.osid.repository.Record

See Also:
Serialized Form

Field Summary
(package private)  java.lang.String displayName
           
(package private)  java.util.Vector partVector
           
(package private)  RecordStructure recordStructure
           
 
Constructor Summary
protected Record(java.lang.String displayName, RecordStructure recordStructure, java.util.Vector partVector)
           
 
Method Summary
 org.osid.repository.Part createPart(org.osid.shared.Id partStructureId, java.io.Serializable value)
           
 void deletePart(org.osid.shared.Id partId)
           
 java.lang.String getDisplayName()
           
 org.osid.shared.Id getId()
           
 org.osid.repository.PartIterator getParts()
           
 org.osid.repository.RecordStructure getRecordStructure()
           
 boolean isMultivalued()
           
 void updateDisplayName(java.lang.String displayName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayName

java.lang.String displayName

partVector

java.util.Vector partVector

recordStructure

RecordStructure recordStructure
Constructor Detail

Record

protected Record(java.lang.String displayName,
                 RecordStructure recordStructure,
                 java.util.Vector partVector)
          throws org.osid.repository.RepositoryException
Throws:
org.osid.repository.RepositoryException
Method Detail

getDisplayName

public java.lang.String getDisplayName()
                                throws org.osid.repository.RepositoryException
Specified by:
getDisplayName in interface org.osid.repository.Record
Throws:
org.osid.repository.RepositoryException

getParts

public org.osid.repository.PartIterator getParts()
                                          throws org.osid.repository.RepositoryException
Specified by:
getParts in interface org.osid.repository.Record
Throws:
org.osid.repository.RepositoryException

getRecordStructure

public org.osid.repository.RecordStructure getRecordStructure()
                                                       throws org.osid.repository.RepositoryException
Specified by:
getRecordStructure in interface org.osid.repository.Record
Throws:
org.osid.repository.RepositoryException

isMultivalued

public boolean isMultivalued()
                      throws org.osid.repository.RepositoryException
Throws:
org.osid.repository.RepositoryException

getId

public org.osid.shared.Id getId()
                         throws org.osid.repository.RepositoryException
Specified by:
getId in interface org.osid.repository.Record
Throws:
org.osid.repository.RepositoryException

createPart

public org.osid.repository.Part createPart(org.osid.shared.Id partStructureId,
                                           java.io.Serializable value)
                                    throws org.osid.repository.RepositoryException
Specified by:
createPart in interface org.osid.repository.Record
Throws:
org.osid.repository.RepositoryException

deletePart

public void deletePart(org.osid.shared.Id partId)
                throws org.osid.repository.RepositoryException
Specified by:
deletePart in interface org.osid.repository.Record
Throws:
org.osid.repository.RepositoryException

updateDisplayName

public void updateDisplayName(java.lang.String displayName)
                       throws org.osid.repository.RepositoryException
Specified by:
updateDisplayName in interface org.osid.repository.Record
Throws:
org.osid.repository.RepositoryException