public static class CustomAutoNav.CustomHierarchicalReference extends HierarchialDomainObject
MenuItem.name
s are case insensitive while comparing.ATTRIB_HIERARCHY_STARTS_LIKE, ATTRIB_PRODUCT_PARENT, parentId
ROOT
Constructor and Description |
---|
CustomHierarchicalReference() |
CustomHierarchicalReference(String name,
String displayName,
String hierarchy,
String parentName) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Display Name (Can contain HTML)
If you want to display the name without HTML use MarshalUtils.regexReplace(safeDisplayName, HTMLUtils.html4Replacer) |
Long |
getId() |
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 |
getParentName() |
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 |
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 |
setParentName(String parentName) |
equals, getHierarchy, getParentId, hashCode, setHierarchy, setParentId, toString
public String getParentName()
public void setParentName(String parentName)
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 Long getId()
public String getName()
IHierarchialReference
public void setName(String name)
IHierarchialReference
public void setId(Long id)
Copyright © 2018. All rights reserved.