Package ddf.catalog.util.impl
Class MaskableImpl
java.lang.Object
ddf.catalog.util.impl.DescribableImpl
ddf.catalog.util.impl.MaskableImpl
- All Implemented Interfaces:
ddf.catalog.util.Describable,ddf.catalog.util.Maskable,org.codice.ddf.platform.services.common.Describable
Implementation of the Maskable interface that provides methods to set the masked ID of the item
and the ID of the item if it has not yet been masked. Once the item's ID is masked it cannot be
updated again. At that point, you can only change its value indirectly by changing the site name
of DDF.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ddf.catalog.util.impl.DescribableImpl
getDescription, getId, getOrganization, getTitle, getVersion, setDescription, setOrganization, setShortname, setTitle, setVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ddf.catalog.util.Describable
getDescription, getId, getOrganization, getTitle, getVersion
-
Constructor Details
-
MaskableImpl
public MaskableImpl()
-
-
Method Details
-
maskId
Sets the masked ID of this maskable item to the specified ID, and then sets an internal flag indicating that the masked ID cannot be changed.- Specified by:
maskIdin interfaceddf.catalog.util.Maskable
-
setId
Sets the ID of the maskable item if it is not currently masked. If this item is already masked, then its ID is not updated to the specified input ID.- Overrides:
setIdin classDescribableImpl
-