public class ProductType extends Object
A ProductType is a type of content that will be ingested into the data store
element of the CAS File Manager. The MetadataStore
also needs to know
about the ProductType, because Element
s are associated with them to
define how the metadata is stored for a particular product.
Constructor and Description |
---|
ProductType() |
ProductType(String id,
String name,
String description,
String repository,
String versioner) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
List<ExtractorSpec> |
getExtractors() |
List<TypeHandler> |
getHandlers() |
String |
getName() |
String |
getProductRepositoryPath() |
String |
getProductTypeId() |
org.apache.oodt.cas.metadata.Metadata |
getTypeMetadata() |
String |
getVersioner() |
void |
setDescription(String description) |
void |
setExtractors(List<ExtractorSpec> extractors) |
void |
setHandlers(List<TypeHandler> handlers) |
void |
setName(String name) |
void |
setProductRepositoryPath(String productRepositoryPath) |
void |
setProductTypeId(String productTypeId) |
void |
setTypeMetadata(org.apache.oodt.cas.metadata.Metadata typeMetadata) |
void |
setVersioner(String versioner) |
String |
toString() |
public String getDescription()
public void setDescription(String description)
description
- The description to set.public String getName()
public void setName(String name)
name
- The name to set.public String getProductTypeId()
public void setProductTypeId(String productTypeId)
productTypeId
- The productTypeId to set.public String getProductRepositoryPath()
public void setProductRepositoryPath(String productRepositoryPath)
productRepositoryPath
- The productRepositoryPath to set.public String getVersioner()
public void setVersioner(String versioner)
versioner
- The versioner to set.public org.apache.oodt.cas.metadata.Metadata getTypeMetadata()
public void setTypeMetadata(org.apache.oodt.cas.metadata.Metadata typeMetadata)
typeMetadata
- the typeMetadata to setpublic List<ExtractorSpec> getExtractors()
public void setExtractors(List<ExtractorSpec> extractors)
extractors
- the extractors to setpublic List<TypeHandler> getHandlers()
public void setHandlers(List<TypeHandler> handlers)
Copyright © 1999-2016 Apache OODT. All Rights Reserved.