public class ContentRef extends Object implements Identifiable, Sourced
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<Described,ContentRef> |
FROM_CONTENT |
| Constructor and Description |
|---|
ContentRef(Id id,
org.atlasapi.media.entity.Publisher publisher,
Id parentId) |
ContentRef(long id,
org.atlasapi.media.entity.Publisher publisher,
Id parentId) |
public static final com.google.common.base.Function<Described,ContentRef> FROM_CONTENT
public ContentRef(long id,
org.atlasapi.media.entity.Publisher publisher,
@Nullable
Id parentId)
public static ContentRef valueOf(Described content)
public Id getId()
getId in interface Identifiablepublic org.atlasapi.media.entity.Publisher getPublisher()
getPublisher in interface Sourcedpublic Id getParentId()
Copyright © 2014. All rights reserved.