public class Facet<C extends FacetConfiguration> extends UserDataHolderBase implements UserDataHolder, Disposable, ProjectModelElement
FacetType
Disposable.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, setUserMap
finalize, getClass, notify, notifyAll, wait, wait, wait
getUserData, putUserData
public 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()
Disposable
dispose
in interface Disposable
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final java.lang.String getName()
public ProjectModelExternalSource getExternalSource()
ProjectModelElement
getExternalSource
in interface ProjectModelElement
public java.lang.String toString()
toString
in class java.lang.Object