org.jafer.osid.provider
Class PartStructure

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

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

See Also:
Serialized Form

Field Summary
(package private)  java.lang.String partKey
           
(package private)  java.util.Map partTypes
           
 
Constructor Summary
protected PartStructure(java.lang.String partKey, java.util.Map partTypes)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 org.osid.shared.Id getId()
           
 org.osid.repository.PartStructureIterator getPartStructures()
           
 org.osid.repository.RecordStructure getRecordStructure()
           
 org.osid.shared.Type getType()
           
 boolean isMandatory()
           
 boolean isPopulatedByRepository()
           
 boolean isRepeatable()
           
 void updateDisplayName(java.lang.String displayName)
           
 boolean validatePart(org.osid.repository.Part part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

partKey

java.lang.String partKey

partTypes

java.util.Map partTypes
Constructor Detail

PartStructure

protected PartStructure(java.lang.String partKey,
                        java.util.Map partTypes)
Method Detail

getDisplayName

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

getDescription

public java.lang.String getDescription()
                                throws org.osid.repository.RepositoryException
Specified by:
getDescription in interface org.osid.repository.PartStructure
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.PartStructure
Throws:
org.osid.repository.RepositoryException

isPopulatedByRepository

public boolean isPopulatedByRepository()
                                throws org.osid.repository.RepositoryException
Specified by:
isPopulatedByRepository in interface org.osid.repository.PartStructure
Throws:
org.osid.repository.RepositoryException

isMandatory

public boolean isMandatory()
                    throws org.osid.repository.RepositoryException
Specified by:
isMandatory in interface org.osid.repository.PartStructure
Throws:
org.osid.repository.RepositoryException

isRepeatable

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

validatePart

public boolean validatePart(org.osid.repository.Part part)
                     throws org.osid.repository.RepositoryException
Specified by:
validatePart in interface org.osid.repository.PartStructure
Throws:
org.osid.repository.RepositoryException