|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.datamodel.record.impl.AnnotatableImpl
org.eclipse.smila.datamodel.record.impl.AttributeValueImpl
org.eclipse.smila.datamodel.record.impl.MObjectImpl
public class MObjectImpl
Default implementation of SMILA Metadata Objects.
| Constructor Summary | |
|---|---|
MObjectImpl()
|
|
| Method Summary | |
|---|---|
Attribute |
getAttribute(java.lang.String name)
Get the attribute object for the specified name. |
java.util.Iterator<java.lang.String> |
getAttributeNames()
Get an iterator on the names of the currently existing attributes. |
boolean |
hasAttribute(java.lang.String name)
Check if this metadata object has an attribute with the specified name. |
boolean |
hasAttributes()
Check if this metadata object has attributes set. |
Attribute |
removeAttribute(java.lang.String name)
Removes the attribute object for the specified name. |
void |
setAttribute(java.lang.String name,
Attribute attribute)
Set the attribute object for the specified name. |
int |
size()
get number of attributes. |
| Methods inherited from class org.eclipse.smila.datamodel.record.impl.AttributeValueImpl |
|---|
getSemanticType, setSemanticType |
| Methods inherited from class org.eclipse.smila.datamodel.record.impl.AnnotatableImpl |
|---|
addAnnotation, annotationsSize, getAnnotation, getAnnotationNames, getAnnotations, hasAnnotation, hasAnnotations, removeAnnotations, removeAnnotations, setAnnotation, setAnnotations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.smila.datamodel.record.AttributeValue |
|---|
getSemanticType, setSemanticType |
| Methods inherited from interface org.eclipse.smila.datamodel.record.Annotatable |
|---|
addAnnotation, annotationsSize, getAnnotation, getAnnotationNames, getAnnotations, hasAnnotation, hasAnnotations, removeAnnotations, removeAnnotations, setAnnotation, setAnnotations |
| Constructor Detail |
|---|
public MObjectImpl()
| Method Detail |
|---|
public Attribute getAttribute(java.lang.String name)
getAttribute in interface MObjectname - name of an attribute.
MObject.getAttribute(java.lang.String)public java.util.Iterator<java.lang.String> getAttributeNames()
getAttributeNames in interface MObjectMObject.getAttributeNames()public boolean hasAttribute(java.lang.String name)
hasAttribute in interface MObjectname - name of attribute to check for
MObject.hasAttribute(java.lang.String)public boolean hasAttributes()
hasAttributes in interface MObjectMObject.hasAttributes()
public void setAttribute(java.lang.String name,
Attribute attribute)
setAttribute in interface MObjectname - name of attribute to setattribute - new Attribute object.MObject.setAttribute(java.lang.String,
org.eclipse.smila.datamodel.record.Attribute)public int size()
size in interface MObjectMObject.size()public Attribute removeAttribute(java.lang.String name)
removeAttribute in interface MObjectname - name of attribute to remove
MObject.removeAttribute(java.lang.String)
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||