org.eclipse.emf.facet.efacet
Interface Facet


Deprecated. use the new eFacet metamodel in org.eclipse.emf.facet.efacet.metamodel. Cf. https://bugs.eclipse.org/bugs/show_bug.cgi?id=373672

@Deprecated
public interface Facet

A representation of the model object 'Facet'. A facet is a virtual sub type of an existing EClass. A Facet cannot be instantiated.

The following features are supported:

See Also:
EFacetPackage.getFacet()
Generated:
Model:
annotation="http://www.eclipse.org/emf/2002/Ecore validationDelegates='( self.query.scope = self.facet.extendedMetaClass ) and ( self.query.name = self.name )'" annotation="http://www.eclipse.org/emf/2002/Ecore validationDelegates='self.conformanceQuery.scope = self.extendedMetaClass'"

Method Summary
 Query getConformanceQuery()
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 EClass getExtendedMetaclass()
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
  getFacetElements()
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 FacetSet getFacetSet()
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 void setConformanceQuery(Query value)
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 void setExtendedMetaclass(EClass value)
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 void setFacetSet(FacetSet value)
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 

Method Detail

getFacetSet

@Deprecated
FacetSet getFacetSet()
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Returns the value of the 'Facet Set' container reference. It is bidirectional and its opposite is 'Facets'.

If the meaning of the 'Facet Set' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Facet Set' container reference.
See Also:
setFacetSet(FacetSet), EFacetPackage.getFacet_FacetSet(), FacetSet.getFacets()
Generated:
Model:
opposite="facets" transient="false"

setFacetSet

@Deprecated
void setFacetSet(FacetSet value)
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Sets the value of the 'Facet Set' container reference.

Parameters:
value - the new value of the 'Facet Set' container reference.
See Also:
getFacetSet()
Generated:

getConformanceQuery

@Deprecated
Query getConformanceQuery()
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Returns the value of the 'Conformance Query' containment reference.

If the meaning of the 'Conformance Query' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Conformance Query' containment reference.
See Also:
setConformanceQuery(Query), EFacetPackage.getFacet_ConformanceQuery()
Generated:
Model:
containment="true" annotation="GenModel documentation='The \"conformanceQuery\" references points to the ModelQuery class. The model queries pointed to by the \"conformanceQuery\" reference must return a Boolean. Those queries are used to specify how to decide whether an instance conforms to a facet. If the \"conditionQuery\" is empty then all the instances of the class referred to by the facet instance through the eSuperType reference conform to this facet. '"

setConformanceQuery

@Deprecated
void setConformanceQuery(Query value)
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Sets the value of the 'Conformance Query' containment reference.

Parameters:
value - the new value of the 'Conformance Query' containment reference.
See Also:
getConformanceQuery()
Generated:

getExtendedMetaclass

@Deprecated
EClass getExtendedMetaclass()
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Returns the value of the 'Extended Metaclass' reference.

If the meaning of the 'Extended Metaclass' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Extended Metaclass' reference.
See Also:
setExtendedMetaclass(EClass), EFacetPackage.getFacet_ExtendedMetaclass()
Generated:
Model:
annotation="GenModel documentation='The \"extendedMetaclass\" reference references the virtually subtyped EClass.'"

setExtendedMetaclass

@Deprecated
void setExtendedMetaclass(EClass value)
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Sets the value of the 'Extended Metaclass' reference.

Parameters:
value - the new value of the 'Extended Metaclass' reference.
See Also:
getExtendedMetaclass()
Generated:

getFacetElements

@Deprecated
 getFacetElements()
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Returns the value of the 'Facet Elements' containment reference list. The list contents are of type FacetElement. It is bidirectional and its opposite is 'Facet'. This composite reference contains virtual attributes, references and operations.

Returns:
the value of the 'Facet Elements' containment reference list.
See Also:
EFacetPackage.getFacet_FacetElements(), FacetElement.getFacet()
Generated:
Model:
opposite="facet" containment="true"