@MappedSuperclass public abstract class AbstractContentAlias<C extends Content> extends DomainObject
ContentDescriber
to belong to multiple Categories (under different parents) with alternate properties for that mapping if required.Constructor and Description |
---|
AbstractContentAlias() |
AbstractContentAlias(AbstractContentAlias alias) |
AbstractContentAlias(String json) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract C |
getContent() |
Long |
getId() |
ContentDescriber |
getParent() |
int |
hashCode() |
abstract void |
setContent(C content) |
void |
setId(Long id) |
void |
setParent(ContentDescriber parent) |
String |
toString() |
public AbstractContentAlias()
public AbstractContentAlias(String json)
public AbstractContentAlias(AbstractContentAlias alias)
public Long getId()
public void setId(Long id)
public abstract C getContent()
public abstract void setContent(C content)
public ContentDescriber getParent()
public void setParent(ContentDescriber parent)
Copyright © 2018. All rights reserved.