/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** Role of the object.
/** Name of the object. * A string by which the object is known. Often a required attribute. The may or may not be a semi-controlled vocabulary. * @return CMLAttribute */ public CMLAttribute getNameAttribute() { return (CMLAttribute) getAttribute("name"); } /** Name of the object.
/** null * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** null
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @return CMLElements<CMLMetadata> */ public CMLElements<CMLMetadata> getMetadataElements() { Elements elements = this.getChildElements("metadata", CMLConstants.CML_NS); return new CMLElements<CMLMetadata>(elements); } /** overrides addAttribute(Attribute)
/** null * @return String */ public String getDictRef() { DictRefAttribute att = (DictRefAttribute) this.getDictRefAttribute(); if (att == null) { return null; } return att.getString(); } /** null
/** A title on an element. * No controlled value. * @return String */ public String getTitle() { StringSTAttribute att = (StringSTAttribute) this.getTitleAttribute(); if (att == null) { return null; } return att.getString(); } /** A title on an element.
/** Name of the object. * A string by which the object is known. Often a required attribute. The may or may not be a semi-controlled vocabulary. * @return String */ public String getName() { StringSTAttribute att = (StringSTAttribute) this.getNameAttribute(); if (att == null) { return null; } return att.getString(); } /** Name of the object.
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @return String */ public String getRole() { StringSTAttribute att = (StringSTAttribute) this.getRoleAttribute(); if (att == null) { return null; } return att.getString(); } /** Role of the object.
/** null * @return String */ public String getId() { IdAttribute att = (IdAttribute) this.getIdAttribute(); if (att == null) { return null; } return att.getString(); } /** null
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @param metadata child to add */ public void addMetadata(AbstractMetadata metadata) { metadata.detach(); this.appendChild(metadata); } /** Role of the object.
/** A reference to a convention. * There is no controlled vocabulary for conventions, but the author must ensure that the semantics are openly available and that there are mechanisms for implementation. The convention is inherited by all the subelements, * so that a convention for molecule would by default extend to its bond and atom children. This can be overwritten * if necessary by an explicit convention. * It may be useful to create conventions with namespaces (e.g. iupac:name). * Use of convention will normally require non-STMML semantics, and should be used with * caution. We would expect that conventions prefixed with "ISO" would be useful, * such as ISO8601 for dateTimes. * There is no default, but the conventions of STMML or the related language (e.g. CML) will be assumed. * @return String */ public String getConvention() { StringSTAttribute att = (StringSTAttribute) this.getConventionAttribute(); if (att == null) { return null; } return att.getString(); } /** A reference to a convention.
/** The count of the object. * No fixed semantics or default, normally integers. * It is presumed that the element can be multiplied by the count value. * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** The count of the object.
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @return CMLElements<CMLMetadataList> */ public CMLElements<CMLMetadataList> getMetadataListElements() { Elements elements = this.getChildElements("metadataList", CMLConstants.CML_NS); return new CMLElements<CMLMetadataList>(elements); } // element: metadata
/** The physical state of the substance. * No fixed semantics or default. * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** The physical state of the substance.
/** null * @return CMLAttribute */ public CMLAttribute getIdAttribute() { return (CMLAttribute) getAttribute("id"); } /** null
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** Role of the object.
/** A title on an element. * No controlled value. * @return CMLAttribute */ public CMLAttribute getTitleAttribute() { return (CMLAttribute) getAttribute("title"); } /** A title on an element.
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** Role of the object.
/** null * @return CMLAttribute */ public CMLAttribute getDictRefAttribute() { return (CMLAttribute) getAttribute("dictRef"); } /** null
/** null * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** null