ix.icore.info
Class ISource
java.lang.Object
ix.icore.AbstractAnnotatedObject
ix.icore.info.ISource
- All Implemented Interfaces:
- Annotated, Named, IThing, java.io.Serializable
public class ISource
- extends AbstractAnnotatedObject
- implements IThing, Named
The value of an attribute of a piece of information or a relationship
- See Also:
- Serialized Form
Field Summary |
protected java.util.HashMap |
attQuality
A map that takes the combined type-attribute to get the quality value
for the attribute in that type |
protected int |
defaultQuality
|
protected java.lang.String |
name
|
Constructor Summary |
ISource(java.lang.String name)
|
Methods inherited from class ix.icore.AbstractAnnotatedObject |
addAnnotationListener, annMap, clearAnnotations, fireSetAnnotation, getAnnotation, getAnnotations, getComments, makeAnnMap, removeAnnotation, setAnnotation, setAnnotations, setComments, takeAnnotations |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
defaultQuality
protected int defaultQuality
attQuality
protected java.util.HashMap attQuality
- A map that takes the combined type-attribute to get the quality value
for the attribute in that type
ISource
public ISource(java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Named
setName
public void setName(java.lang.String name)
setQuality
public void setQuality(IType type,
java.lang.String attribute,
int quality)
getQuality
public int getQuality(IType type,
java.lang.String attribute)
getQuality
public int getQuality(IObject object,
java.lang.String attribute)
equals
public boolean equals(java.lang.Object iSource)
- Overrides:
equals
in class java.lang.Object