Class AbstractOsidCatalog
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractIdentifiable
net.okapia.osid.jamocha.spi.AbstractOsidObject
net.okapia.osid.jamocha.spi.AbstractSourceableOsidObject
net.okapia.osid.jamocha.spi.AbstractOsidCatalog
- All Implemented Interfaces:
Browsable, Extensible, Federateable, Identifiable, OsidCatalog, OsidObject, Sourceable
- Direct Known Subclasses:
AbstractAcademy, AbstractAddressBook, AbstractAgency, AbstractAntimatroid, AbstractAuctionHouse, AbstractBank, AbstractBilling, AbstractBin, AbstractBlog, AbstractBook, AbstractBusiness, AbstractBusiness, AbstractCalendar, AbstractCampus, AbstractCatalog, AbstractCatalogue, AbstractChecklist, AbstractConfiguration, AbstractCookbook, AbstractCourseCatalog, AbstractDepot, AbstractDictionary, AbstractDirectory, AbstractDistributor, AbstractEndpoint, AbstractEngine, AbstractEngine, AbstractFamily, AbstractForum, AbstractFoundry, AbstractFrontOffice, AbstractGradebook, AbstractGraph, AbstractHierarchy, AbstractInquest, AbstractJournal, AbstractLog, AbstractMailbox, AbstractMap, AbstractObjectiveBank, AbstractOffice, AbstractOntology, AbstractOubliette, AbstractPolls, AbstractPress, AbstractProcess, AbstractProfile, AbstractPublisher, AbstractRealm, AbstractRepository, AbstractStore, AbstractSystem, AbstractUtility, AbstractVault, AbstractWarehouse
public abstract class AbstractOsidCatalog
extends AbstractSourceableOsidObject
implements OsidCatalog
Defines a generic
OsidCatalog.
setProvider() should be used to set the provider
information by subclasses.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractSourceableOsidObject
AbstractSourceableOsidObject.SourceableModifier and TypeClassDescriptionprotected classComposed Sourceable.Nested classes/interfaces inherited from class AbstractOsidObject
AbstractOsidObject.BrowsableModifier and TypeClassDescriptionprotected classComposed Browsable. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractSourceableOsidObject
addAssetsToBranding, addAssetToBranding, getBranding, getBrandingIds, getLicense, getProvider, getProviderId, setBranding, setBranding, setLicense, setProvider, setProviderModifier and TypeMethodDescriptionprotected voidaddAssetsToBranding(Collection<Asset> assets) Adds assets to the branding.protected voidaddAssetToBranding(Asset asset) Adds an asset to the branding.Gets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding asset Ids, such as an image or logo, expressed using theAssetinterface.Gets the terms of usage.Gets theResourcerepresenting the provider of this catalog.Gets theIdof theProviderof thisCatalog.protected voidsetBranding(Collection<Asset> assets) Sets the branding to the given assets.protected voidsetBranding(Asset asset) Sets the branding to the given asset.protected voidsetLicense(DisplayText license) Sets the license.protected voidsetProvider(Provider provider) Sets the provider for this catalog.protected voidsetProvider(Resource provider) Sets the provider.Methods inherited from class AbstractOsidObject
addProperties, addRecordType, getDescription, getDisplayName, getGenusType, getProperties, getPropertiesByRecordType, getRecordTypes, hasRecordType, isOfGenusType, setDescription, setDisplayName, setGenusTypeModifier and TypeMethodDescriptionprotected voidaddProperties(Collection<Property> set, Type recordType) Adds a property set.protected voidaddRecordType(Type recordType) Adds a record type.Gets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.Gets a list of all properties of this object including those corresponding to data within this object's records.getPropertiesByRecordType(Type recordType) Gets the properties by record type.Gets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.protected voidsetDescription(DisplayText description) Sets the description of this object.protected voidsetDisplayName(DisplayText displayName) Sets the displayName for this object.protected voidsetGenusType(Type genusType) Sets a genus type.Methods inherited from class AbstractIdentifiable
current, equals, getId, hashCode, isCurrent, setId, stale, toStringModifier and TypeMethodDescriptionprotected voidcurrent()Sets the current flag totrue.final booleanDetermines if the givenIdis equal to this one.getId()Gets theIdassociated with this instance of this OSID object.inthashCode()Returns a hash code value for thisOsidObjectbased on theId.booleanTests to see if the last method invoked retrieved up-to-date data.protected voidSets theIdassociated with this instance of this OSID object.protected voidstale()Sets the current flag tofalse.toString()Returns a string representation of this OsidObject.
-
Constructor Details
-
AbstractOsidCatalog
public AbstractOsidCatalog()Constructs a newAbstractOsidCatalog.
-