Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.diff.model.impl
Class ContentProperty

java.lang.Object
  extended by org.nuxeo.ecm.diff.model.impl.ContentProperty
All Implemented Interfaces:
Serializable

public class ContentProperty
extends Object
implements Serializable

Implementation of a content property (blob), defined by the content low level complex type.

Since:
5.6
Author:
Antoine Taillefer
See Also:
Serialized Form

Constructor Summary
ContentProperty()
           
ContentProperty(String encoding, String mimeType, String filename, String digest)
           
 
Method Summary
 boolean equals(Object other)
           
 String getDigest()
           
 String getEncoding()
           
 String getFilename()
           
 String getMimeType()
           
 void setDigest(String digest)
           
 void setEncoding(String encoding)
           
 void setFilename(String filename)
           
 void setMimeType(String mimeType)
           
 void setSubProperty(String subPropertyName, String subPropertyValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentProperty

public ContentProperty()

ContentProperty

public ContentProperty(String encoding,
                       String mimeType,
                       String filename,
                       String digest)
Method Detail

getEncoding

public String getEncoding()

setEncoding

public void setEncoding(String encoding)

getMimeType

public String getMimeType()

setMimeType

public void setMimeType(String mimeType)

getFilename

public String getFilename()

setFilename

public void setFilename(String filename)

getDigest

public String getDigest()

setDigest

public void setDigest(String digest)

setSubProperty

public void setSubProperty(String subPropertyName,
                           String subPropertyValue)
                    throws ClientException
Throws:
ClientException

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.