org.jafer.osid.provider
Class Part

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

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

See Also:
Serialized Form

Field Summary
(package private)  java.lang.String partKey
           
(package private)  java.util.Map partTypes
           
(package private)  java.util.Map partValues
           
 
Constructor Summary
protected Part(java.lang.String partKey, java.util.Map partValues, java.util.Map partTypes)
           
 
Method Summary
 org.osid.repository.Part createPart(org.osid.shared.Id partStructureId, java.io.Serializable value)
           
 void deletePart(org.osid.shared.Id partStructureId)
           
 java.lang.String getDisplayName()
           
 org.osid.shared.Id getId()
           
 org.osid.repository.PartIterator getParts()
           
 org.osid.repository.PartStructure getPartStructure()
           
 java.io.Serializable getValue()
           
 void updateDisplayName(java.lang.String displayName)
           
 void updateValue(java.io.Serializable value)
           
 
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

partValues

java.util.Map partValues

partTypes

java.util.Map partTypes
Constructor Detail

Part

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

getValue

public java.io.Serializable getValue()
                              throws org.osid.repository.RepositoryException
Specified by:
getValue in interface org.osid.repository.Part
Throws:
org.osid.repository.RepositoryException

getDisplayName

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

getPartStructure

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

deletePart

public void deletePart(org.osid.shared.Id partStructureId)
                throws org.osid.repository.RepositoryException
Specified by:
deletePart in interface org.osid.repository.Part
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.Part
Throws:
org.osid.repository.RepositoryException

updateValue

public void updateValue(java.io.Serializable value)
                 throws org.osid.repository.RepositoryException
Specified by:
updateValue in interface org.osid.repository.Part
Throws:
org.osid.repository.RepositoryException