IMPLTYPE - Implementation type@NotThreadSafe public abstract class AbstractMenuObject<IMPLTYPE extends AbstractMenuObject<IMPLTYPE>> extends com.helger.commons.collections.attrs.MapBasedAttributeContainer implements IMenuObject
| Constructor and Description |
|---|
AbstractMenuObject(String sID) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.helger.commons.filter.IFilter<IMenuObject> |
getDisplayFilter() |
String |
getID() |
int |
hashCode() |
boolean |
matchesDisplayFilter() |
IMPLTYPE |
setDisplayFilter(com.helger.commons.filter.IFilter<IMenuObject> aDisplayFilter)
Set a new display filter for this menu object.
|
protected IMPLTYPE |
thisAsT() |
String |
toString() |
getAndSetAttributeFlag, getClone, setAttribute, setAttribute, setAttribute, setAttributeclear, containsAttribute, containsNoAttribute, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeCount, getAttributeNames, getAttributeObject, onBeforeRemoveAttribute, onBeforeSetAttributeValue, removeAttribute, setAttribute, setAttributes, setAttributesgetAsBigDecimal, getAsBigInteger, getAsBoolean, getAsDouble, getAsInt, getAsLong, getAsString, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttributeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetMenuObjectTypegetAndSetAttributeFlag, setAttribute, setAttribute, setAttribute, setAttributeremoveAttribute, setAttribute, setAttributes, setAttributescontainsAttribute, containsNoAttribute, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getAttributeCount, getAttributeNames, getAttributeObject, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttribute@Nonnull @Nonempty public final String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull public final IMPLTYPE setDisplayFilter(@Nullable com.helger.commons.filter.IFilter<IMenuObject> aDisplayFilter)
IMenuObjectsetDisplayFilter in interface IMenuObjectaDisplayFilter - The new display filter to set. Maybe null to indicate
that no filter is required.@Nullable public final com.helger.commons.filter.IFilter<IMenuObject> getDisplayFilter()
getDisplayFilter in interface IMenuObjectpublic final boolean matchesDisplayFilter()
matchesDisplayFilter in interface IMenuObjecttrue if either no display filter is installed, or if
the installed filter matches, false otherwise.public boolean equals(Object o)
public int hashCode()
Copyright © 2014–2015 Philip Helger. All rights reserved.