public class Facet<C extends FacetConfiguration> extends UserDataHolderBase implements UserDataHolder, Disposable, ProjectModelElement
FacetTypeDisposable.Parent| Modifier and Type | Field and Description |
|---|---|
static Facet[] |
EMPTY_ARRAY |
| Constructor and Description |
|---|
Facet(FacetType facetType,
Module module,
java.lang.String name,
C configuration,
Facet underlyingFacet) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
disposeFacet()
Called when the module containing this facet is disposed
|
boolean |
equals(java.lang.Object obj) |
C |
getConfiguration() |
ProjectModelExternalSource |
getExternalSource()
Return non-null value if this element was automatically created by the IDE during importing from some external project system rather
than created by user manually via UI.
|
Module |
getModule() |
java.lang.String |
getName() |
FacetType |
getType() |
FacetTypeId |
getTypeId() |
Facet |
getUnderlyingFacet() |
int |
hashCode() |
void |
initFacet()
Called when the module containing this facet is initialized
|
boolean |
isDisposed() |
java.lang.String |
toString() |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapfinalize, getClass, notify, notifyAll, wait, wait, waitgetUserData, putUserDatapublic static final Facet[] EMPTY_ARRAY
public final FacetType getType()
public final FacetTypeId getTypeId()
public final Facet getUnderlyingFacet()
public final C getConfiguration()
public final Module getModule()
public boolean isDisposed()
public void initFacet()
public void disposeFacet()
public final void dispose()
Disposabledispose in interface Disposablepublic final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.lang.String getName()
public ProjectModelExternalSource getExternalSource()
ProjectModelElementgetExternalSource in interface ProjectModelElementpublic java.lang.String toString()
toString in class java.lang.Object