Class PreferredUrlPartStructure

  • All Implemented Interfaces:
    Serializable, org.osid.repository.PartStructure

    public class PreferredUrlPartStructure
    extends Object
    implements org.osid.repository.PartStructure
    Copyright (c) 2003, 2004, 2005, 2008 The Sakai Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.opensource.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
    See Also:
    Serialized Form
    • Method Detail

      • getPartStructureId

        public static org.osid.shared.Id getPartStructureId()
        Public method to fetch the PartStructure ID
      • getDisplayName

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

        public String getDescription()
                              throws org.osid.repository.RepositoryException
        Specified by:
        getDescription 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
      • isPopulatedByRepository

        public boolean isPopulatedByRepository()
                                        throws org.osid.repository.RepositoryException
        Specified by:
        isPopulatedByRepository 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​(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
      • 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
      • 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
      • 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
      • 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