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()
ContentInfo
Returns the ContentProviderId of the ContentProvider
responsible for managing the content.
getContentProviderId
in interface ContentInfo
public Optional<String> getContentSourceId()
ContentInfo
Returns the optional content source id to which the content is linked.
getContentSourceId
in interface ContentInfo
public Optional<ContentMetadata> getContentMetadata()
ContentInfo
Returns the optional content metadata associated with the content.
getContentMetadata
in interface ContentInfo
public Map<String,String> getProperties()
ContentInfo
Returns the content properties.
These are used inside the ContentProvider
to store the content properly.
getProperties
in interface ContentInfo
public static DefaultContentInfo.Builder builder()
Creates a builder for a new concrete default content info instance .
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.