public class IdentityRepresentation extends Object implements Representation
| Modifier and Type | Field and Description |
|---|---|
protected String |
mediaType |
protected DossierContents |
parent |
| Constructor and Description |
|---|
IdentityRepresentation(String mediaType) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedMediaTypes() |
String |
getCode() |
byte[] |
getContents() |
String |
getExtension() |
String |
getMediaType() |
String |
getName() |
DossierContents |
getParent() |
void |
setContents(byte[] contents) |
void |
setParent(DossierPath parent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFileNameprotected DossierContents parent
protected final String mediaType
public IdentityRepresentation(String mediaType)
public String getCode()
getCode in interface DossierPathpublic String getName()
getName in interface DossierPathpublic void setParent(DossierPath parent)
setParent in interface DossierPathpublic DossierContents getParent()
getParent in interface DossierPathpublic byte[] getContents()
throws IOException
getContents in interface DossierContentsIOExceptionpublic String getMediaType()
getMediaType in interface DossierContentspublic List<String> getAllowedMediaTypes()
getAllowedMediaTypes in interface DossierContentspublic void setContents(byte[] contents)
throws IOException
setContents in interface DossierContentsIOExceptionpublic String getExtension()
getExtension in interface DossierContentsCopyright © 2021. All rights reserved.