|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IImager
An IImager describes a camera. The model name is a mandatory field which has to be set.
| Field Summary | |
|---|---|
static java.lang.String |
CCD
CCD type constant for imager |
static java.lang.String |
FILM
Film/chemical type constant for imager |
static java.lang.String |
XML_ELEMENT_IMAGER
Constant for XML representation: imager element name |
static java.lang.String |
XML_ELEMENT_MODEL
Constant for XML representation: model element name Example: <imager> More stuff goes here <model> Model name goes here</model>
More stuff goes here
</imager> |
static java.lang.String |
XML_ELEMENT_REMARKS
Constant for XML representation: remarks element name Example: <imager> More stuff goes here <remarks> Vendor name goes here</remarks>
More stuff goes here
</imager> |
static java.lang.String |
XML_ELEMENT_TYPE
Constant for XML representation: type element name Example: <imager> More stuff goes here <type> Type goes here</type>
More stuff goes here
</imager> |
static java.lang.String |
XML_ELEMENT_VENDOR
Constant for XML representation: vendor element name Example: <imager> More stuff goes here <vendor> Vendor name goes here</vendor>
More stuff goes here
</imager> |
static java.lang.String |
XML_XSI_TYPE
Constant for XML Schema Instance type. |
| Fields inherited from interface de.lehmannet.om.ISchemaElement |
|---|
XML_ELEMENT_ATTRIBUTE_ID |
| Method Summary | |
|---|---|
org.w3c.dom.Element |
addAsLinkToXmlElement(org.w3c.dom.Element parent)
Adds the eyepiece link to an given XML DOM Element The IImager element itself will be attached to given elements ownerDocument. |
org.w3c.dom.Element |
addToXmlElement(org.w3c.dom.Element element)
Adds this IImager to a given parent XML DOM Element. |
java.lang.String |
getModel()
Returns the model name of this imager. |
java.lang.String |
getRemarks()
Returns the remarks to this imager. |
java.lang.String |
getType()
Returns the type of this imager. |
java.lang.String |
getVendor()
Returns the vendor name of this imager. |
void |
setModel(java.lang.String modelname)
Sets the model name for the imager. |
void |
setRemarks(java.lang.String remarks)
Sets the remarks for this imager. |
void |
setType(java.lang.String type)
Sets the type for this imager. |
void |
setVendor(java.lang.String vendor)
Sets the vendor name for the imager. |
| Methods inherited from interface de.lehmannet.om.ISchemaElement |
|---|
getDisplayName, getID |
| Field Detail |
|---|
static final java.lang.String XML_XSI_TYPE
String getXSIType() (which we can't do here)
we define this constant again in IScope.
static final java.lang.String XML_ELEMENT_IMAGER
static final java.lang.String XML_ELEMENT_MODEL
Model name goes here</model>
More stuff goes here
</imager>
static final java.lang.String XML_ELEMENT_TYPE
Type goes here</type>
More stuff goes here
</imager>
static final java.lang.String XML_ELEMENT_VENDOR
Vendor name goes here</vendor>
More stuff goes here
</imager>
static final java.lang.String XML_ELEMENT_REMARKS
Vendor name goes here</remarks>
More stuff goes here
</imager>
static final java.lang.String CCD
static final java.lang.String FILM
| Method Detail |
|---|
org.w3c.dom.Element addToXmlElement(org.w3c.dom.Element element)
parent - The parent element for this IImager
null if parent was null.Elementorg.w3c.dom.Element addAsLinkToXmlElement(org.w3c.dom.Element parent)
parent - The element under which the the imager link is created
null if element was null.Elementjava.lang.String getModel()
java.lang.String getVendor()
NULL
if vendor name was not set.java.lang.String getType()
NULL
if type was not set.java.lang.String getRemarks()
NULL
if no remarks were set.
void setModel(java.lang.String modelname)
throws java.lang.IllegalArgumentException
modelname - The new model name to be set.
java.lang.IllegalArgumentException - if new modelname is null or empty stringvoid setVendor(java.lang.String vendor)
vendor - The new vendor name to be set.void setType(java.lang.String type)
type - The new image type.void setRemarks(java.lang.String remarks)
remarks - The new remarks.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||