public interface Model extends OsidObject
A Model
represents a specific make of a product that is
used to build a vocabulary of managed products.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArchetype()
Gets the model name component (e.g.
|
Resource |
getManufacturer()
Gets the manufacturer (e.g.
|
Id |
getManufacturerId()
Gets the manufacturer
Id. |
ModelRecord |
getModelRecord(Type modelRecordType)
Gets the model record corresponding to the given
Model
record Type. |
java.lang.String |
getNumber()
Gets the model number (e.g.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
Id getManufacturerId()
Id.
Id
mandatory
- This method must be implemented. Resource getManufacturer() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. java.lang.String getArchetype()
mandatory
- This method must be implemented. java.lang.String getNumber()
mandatory
- This method must be implemented. ModelRecord getModelRecord(Type modelRecordType) throws OperationFailedException
Model
record Type.
This method is used to retrieve an object
implementing the requested record. The modelRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(modelRecordType)
is true
.modelRecordType
- the type of model record to retrieveNullArgumentException
- modelRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(modelRecordType)
is false
mandatory
- This method must be implemented.