public abstract class AbstractFacet<FACETEDTYPE extends Faceted<?>> extends Object implements MutableFacet<FACETEDTYPE>
Facet
abstract class.Modifier and Type | Field and Description |
---|---|
protected FACETEDTYPE |
origin |
Constructor and Description |
---|
AbstractFacet() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FACETEDTYPE |
getFaceted()
|
int |
hashCode()
Facet instances are the same if they are registered to the same project.
|
void |
setFaceted(FACETEDTYPE origin)
Set the
Facet will operate. |
boolean |
uninstall()
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
install, isInstalled
protected FACETEDTYPE extends Faceted<?> origin
public FACETEDTYPE getFaceted()
Facet
Faceted
instance on which this Facet
operates. Each Facet
belongs to a
Faceted
object (an object that has facets). Once this Facet
has been installed, the
Faceted
instance cannot be changed.
Typically, the Faceted
instance is provided at Facet
creation time, when the facet is constructed
via the FacetFactory
.
getFaceted
in interface Facet<FACETEDTYPE extends Faceted<?>>
public void setFaceted(FACETEDTYPE origin)
Facet
will operate.setFaceted
in interface MutableFacet<FACETEDTYPE extends Faceted<?>>
public boolean uninstall()
Facet
uninstall
in interface Facet<FACETEDTYPE extends Faceted<?>>
public int hashCode()
Copyright © 2014 JBoss by Red Hat. All rights reserved.