@Entity public class GenericObject extends HierarchialDomainObject
ATTRIB_HIERARCHY_STARTS_LIKE, ATTRIB_PRODUCT_PARENT, parentId
ROOT
Constructor and Description |
---|
GenericObject() |
GenericObject(String json) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getBitmask() |
List<Long> |
getChildren() |
Date |
getCreated() |
String |
getDisplayName()
Display Name (Can contain HTML)
If you want to display the name without HTML use MarshalUtils.regexReplace(safeDisplayName, HTMLUtils.html4Replacer) |
Long |
getId() |
Date |
getModified() |
String |
getName()
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
String |
getProperties()
JSON String
|
Set<GenericReference> |
getReferences()
References this Object has.
|
String |
getTags()
Comma separated list of tags
|
String |
getType() |
String |
getValue()
Its own Content
|
int |
hashCode() |
void |
setBitmask(Integer bitmask) |
void |
setChildren(List<Long> children) |
void |
setCreated(Date created) |
void |
setDisplayName(String displayName)
Display Name (Can contain HTML)
If you want to display the name without HTML use MarshalUtils.regexReplace(safeDisplayName, HTMLUtils.html4Replacer) |
void |
setId(Long id) |
void |
setModified(Date modified) |
void |
setName(String name)
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
void |
setProperties(String properties)
JSON String
|
void |
setReferences(Set<GenericReference> references)
References this Object has.
|
void |
setTags(String tags)
Comma separated list of tags
|
void |
setType(String type) |
void |
setValue(String value)
Its own Content
|
String |
toString() |
getHierarchy, getParentId, setHierarchy, setParentId
public GenericObject()
public GenericObject(String json)
public Long getId()
public void setId(Long id)
public Integer getBitmask()
public void setBitmask(Integer bitmask)
public String getProperties()
public void setProperties(String properties)
public String getValue()
public void setValue(String value)
public Date getCreated()
public void setCreated(Date created)
public Date getModified()
public void setModified(Date modified)
public String getTags()
public void setTags(String tags)
public Set<GenericReference> getReferences()
public void setReferences(Set<GenericReference> references)
public String getName()
IHierarchialReference
public void setName(String name)
IHierarchialReference
public String getType()
public void setType(String type)
public String getDisplayName()
HierarchialDomainObject
MarshalUtils.regexReplace(safeDisplayName, HTMLUtils.html4Replacer)
getDisplayName
in interface Displayable
getDisplayName
in class HierarchialDomainObject
public void setDisplayName(String displayName)
HierarchialDomainObject
MarshalUtils.regexReplace(safeDisplayName, HTMLUtils.html4Replacer)
setDisplayName
in class HierarchialDomainObject
public boolean equals(Object obj)
equals
in class HierarchialDomainObject
public int hashCode()
hashCode
in class HierarchialDomainObject
public String toString()
toString
in class HierarchialDomainObject
Copyright © 2018. All rights reserved.