org.eclipse.emf.facet.efacet
Interface Facet


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()
          Returns the value of the 'Conformance Query' containment reference.
 EClass getExtendedMetaclass()
          Returns the value of the 'Extended Metaclass' reference.
  getFacetElements()
          Returns the value of the 'Facet Elements' containment reference list.
 FacetSet getFacetSet()
          Returns the value of the 'Facet Set' container reference.
 void setConformanceQuery(Query value)
          Sets the value of the 'Conformance Query' containment reference.
 void setExtendedMetaclass(EClass value)
          Sets the value of the 'Extended Metaclass' reference.
 void setFacetSet(FacetSet value)
          Sets the value of the 'Facet Set' container reference.
 

Method Detail

getFacetSet

FacetSet getFacetSet()
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

void setFacetSet(FacetSet value)
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

Query getConformanceQuery()
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

void setConformanceQuery(Query value)
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

EClass getExtendedMetaclass()
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

void setExtendedMetaclass(EClass value)
Sets the value of the 'Extended Metaclass' reference.

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

getFacetElements

 getFacetElements()
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"