org.fcrepo.client.utility.validate.types
Class BasicContentModelInfo

java.lang.Object
  extended by org.fcrepo.client.utility.validate.types.BasicContentModelInfo
All Implemented Interfaces:
ContentModelInfo

public class BasicContentModelInfo
extends Object
implements ContentModelInfo

A simple immutable implementation of ContentModelInfo.

Author:
Jim Blake

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.fcrepo.client.utility.validate.types.ContentModelInfo
ContentModelInfo.DsTypeModel, ContentModelInfo.Form
 
Field Summary
 
Fields inherited from interface org.fcrepo.client.utility.validate.types.ContentModelInfo
DS_COMPOSITE_MODEL, DS_COMPOSITE_MODEL_FORMAT
 
Constructor Summary
BasicContentModelInfo(ObjectInfo baseObject, Collection<ContentModelInfo.DsTypeModel> typeModels)
           
 
Method Summary
 String getPid()
           
 Set<ContentModelInfo.DsTypeModel> getTypeModels()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicContentModelInfo

public BasicContentModelInfo(ObjectInfo baseObject,
                             Collection<ContentModelInfo.DsTypeModel> typeModels)
Method Detail

getPid

public String getPid()
Specified by:
getPid in interface ContentModelInfo

getTypeModels

public Set<ContentModelInfo.DsTypeModel> getTypeModels()
Specified by:
getTypeModels in interface ContentModelInfo


Copyright © 2012 DuraSpace. All Rights Reserved.