public class SymbolicEquivalenceClass extends AbstractElement implements ISymbolicEquivalenceClass
ISymbolicEquivalenceClass.| Modifier and Type | Field and Description | 
|---|---|
private Services | 
services
The  
Services to use. | 
private ImmutableList<Term> | 
terms
The contained  
Terms which represents the same ISymbolicObject. | 
| Constructor and Description | 
|---|
SymbolicEquivalenceClass(Services services,
                        ImmutableList<Term> terms,
                        IModelSettings settings)
Constructor. 
 | 
SymbolicEquivalenceClass(Services services,
                        IModelSettings settings)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addTerm(Term term)
Adds a new  
Term. | 
boolean | 
containsTerm(Term term)
Checks if a  
Term is contained. | 
Term | 
getRepresentative()
Returns the most representative term. 
 | 
java.lang.String | 
getRepresentativeString()
Returns the most representative term as human readable  
String. | 
ImmutableList<Term> | 
getTerms()
Returns the terms which represents the same  
ISymbolicObject. | 
ImmutableList<java.lang.String> | 
getTermStrings()
Returns the terms which represents the same  
ISymbolicObject as human readable String. | 
java.lang.String | 
toString() | 
formatTerm, getSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSettingsprivate ImmutableList<Term> terms
Terms which represents the same ISymbolicObject.public SymbolicEquivalenceClass(Services services, IModelSettings settings)
services - The Services to use.settings - The IModelSettings to use.public SymbolicEquivalenceClass(Services services, ImmutableList<Term> terms, IModelSettings settings)
services - The Services to use.terms - The contained Terms which represents the same ISymbolicObject.settings - The IModelSettings to use.public ImmutableList<Term> getTerms()
ISymbolicObject.getTerms in interface ISymbolicEquivalenceClassISymbolicObject.public boolean containsTerm(Term term)
Term is contained.containsTerm in interface ISymbolicEquivalenceClassterm - The Term to check.true Term is contained, false Term is not contained.public ImmutableList<java.lang.String> getTermStrings()
ISymbolicObject as human readable String.getTermStrings in interface ISymbolicEquivalenceClassISymbolicObject as human readable String.public Term getRepresentative()
getRepresentative in interface ISymbolicEquivalenceClasspublic java.lang.String getRepresentativeString()
String.getRepresentativeString in interface ISymbolicEquivalenceClassString.public java.lang.String toString()
toString in class java.lang.Object