org.jafer.osid.provider
Class RecordStructure

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

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

See Also:
Serialized Form

Field Summary
(package private)  java.lang.String description
           
(package private)  java.lang.String displayName
           
(package private)  java.util.Map partTypesMap
           
(package private)  java.util.Vector partTypesVector
           
(package private)  java.lang.String schema
           
(package private)  org.osid.shared.Type type
           
 
Constructor Summary
protected RecordStructure(java.lang.String displayName, java.lang.String description, org.osid.shared.Type type, java.util.Vector partTypesVector, java.util.Map partTypesMap)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getFormat()
           
 org.osid.shared.Id getId()
           
 org.osid.repository.PartStructureIterator getPartStructures()
           
 java.lang.String getSchema()
           
 org.osid.shared.Type getType()
           
 boolean isRepeatable()
           
 void updateDisplayName(java.lang.String displayName)
           
 boolean validateRecord(org.osid.repository.Record record)
           
 
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

description

java.lang.String description

schema

java.lang.String schema

type

org.osid.shared.Type type

partTypesVector

java.util.Vector partTypesVector

partTypesMap

java.util.Map partTypesMap
Constructor Detail

RecordStructure

protected RecordStructure(java.lang.String displayName,
                          java.lang.String description,
                          org.osid.shared.Type type,
                          java.util.Vector partTypesVector,
                          java.util.Map partTypesMap)
Method Detail

getDisplayName

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

getPartStructures

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

getDescription

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

getType

public org.osid.shared.Type getType()
                             throws org.osid.repository.RepositoryException
Specified by:
getType in interface org.osid.repository.RecordStructure
Throws:
org.osid.repository.RepositoryException

getSchema

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

getFormat

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

isRepeatable

public boolean isRepeatable()
                     throws org.osid.repository.RepositoryException
Specified by:
isRepeatable in interface org.osid.repository.RecordStructure
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.RecordStructure
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.RecordStructure
Throws:
org.osid.repository.RepositoryException

validateRecord

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