com.partnersoft.modules.inspection.model
Class Inspection
java.lang.Object
com.partnersoft.modules.inspection.model.Inspection
public class Inspection
- extends java.lang.Object
A single inspection record.
Inspections are typed (e.g. an Overhead inspection).
Copyright 2008 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
|
Constructor Summary |
Inspection(com.partnersoft.cog.CogSchema schema,
com.partnersoft.cog.CogType type)
|
Inspection(com.partnersoft.cog.CogSchema schema,
java.lang.String typeName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Inspection
public Inspection(com.partnersoft.cog.CogSchema schema,
com.partnersoft.cog.CogType type)
Inspection
public Inspection(com.partnersoft.cog.CogSchema schema,
java.lang.String typeName)
applyChangesFrom
public void applyChangesFrom(com.partnersoft.data.Naming<java.lang.Object> data)
toNaming
public com.partnersoft.data.Naming<java.lang.Object> toNaming()
toCogNode
public com.partnersoft.cog.CogNode toCogNode()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getCog
public com.partnersoft.cog.Cog getCog()
getMapID
public java.lang.String getMapID()
setMapID
public void setMapID(java.lang.String mapID)
getGuid
public java.lang.String getGuid()
setGuid
public void setGuid(java.lang.String guid)
isInvalid
public boolean isInvalid()
setInvalid
public void setInvalid(boolean isInvalid)
getSubtype
public java.lang.String getSubtype()
setSubtype
public void setSubtype(java.lang.String subtype)
getValidationError
public java.lang.String getValidationError()
setValidationError
public void setValidationError(java.lang.String errorText)
showValidationError
public boolean showValidationError()
setShowValidationError
public void setShowValidationError(boolean cani)
getLocation
public com.partnersoft.geometry.xy.XyPoint getLocation()
getLonLat
public com.partnersoft.geometry.xy.XyPoint getLonLat()
setLocation
public void setLocation(com.partnersoft.geometry.xy.XyPoint location)
setLonLat
public void setLonLat(com.partnersoft.geometry.xy.XyPoint location)