public class DefaultContentInfo extends Object implements ContentInfo
Default ContentInfo implementation.
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultContentInfo.Builder
Builder for a
DefaultContentInfo instance. |
| Modifier and Type | Method and Description |
|---|---|
static DefaultContentInfo.Builder |
builder()
Creates a builder for a new concrete default content info instance .
|
boolean |
equals(Object o) |
Optional<ContentMetadata> |
getContentMetadata()
Returns the optional content metadata associated with the content.
|
String |
getContentProviderId()
Returns the ContentProviderId of the
ContentProvider responsible for managing the content. |
Optional<String> |
getContentSourceId()
Returns the optional content source id to which the content is linked.
|
Map<String,String> |
getProperties()
Returns the content properties.
|
int |
hashCode() |
String |
toString() |
public String getContentProviderId()
ContentInfoReturns the ContentProviderId of the ContentProvider responsible for managing the content.
getContentProviderId in interface ContentInfopublic Optional<String> getContentSourceId()
ContentInfoReturns the optional content source id to which the content is linked.
getContentSourceId in interface ContentInfopublic Optional<ContentMetadata> getContentMetadata()
ContentInfoReturns the optional content metadata associated with the content.
getContentMetadata in interface ContentInfopublic Map<String,String> getProperties()
ContentInfoReturns the content properties.
These are used inside the ContentProvider to store the content properly.
getProperties in interface ContentInfopublic static DefaultContentInfo.Builder builder()
Creates a builder for a new concrete default content info instance .
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.