Closed stansmith907 closed 7 years ago
The mdTranslator defaults all Boolean elements to 'false' - with one exception. This should be reflected in the schema to improve documentation. See the list of internal object Boolean elements below...
The following elements have default = false
def newContact intObj = { contactId: nil, isOrganization: false, name: nil, positionName: nil, memberOfOrgs: [], logos: [], phones: [], addresses: [], eMailList: [], onlineResources: [], hoursOfService: [], contactInstructions: nil, contactType: nil } end def newDataDictionary intObj = { citation: {}, subjects: [], recommendedUses: [], locales: [], responsibleParty: {}, dictionaryFormat: nil, includedWithDataset: false, domains: [], entities: [] } end def newEntityIndex intObj = { indexCode: nil, duplicate: false, attributeNames: [] } end def newEntityAttribute intObj = { attributeName: nil, attributeCode: nil, attributeAlias: [], attributeDefinition: nil, dataType: nil, allowNull: false, allowMany: false, unitOfMeasure: nil, domainId: nil, minValue: nil, maxValue: nil } end def newGridInfo intObj = { numberOfDimensions: nil, dimension: [], cellGeometry: nil, transformationParameterAvailable: false } end def newGeorectifiedInfo intObj = { gridRepresentation: {}, checkPointAvailable: false, checkPointDescription: nil, cornerPoints: [], centerPoint: [], pointInPixel: nil, transformationDimensionDescription: nil, transformationDimensionMapping: nil } end def newGeoreferenceableInfo intObj = { gridRepresentation: {}, controlPointAvailable: false, orientationParameterAvailable: false, orientationParameterDescription: nil, georeferencedParameter: nil, parameterCitation: [] } end def newImageDescription intObj = { illuminationElevationAngle: nil, illuminationAzimuthAngle: nil, imagingCondition: nil, imageQualityCode: {}, cloudCoverPercent: nil, compressionQuantity: nil, triangulationIndicator: false, radiometricCalibrationAvailable: false, cameraCalibrationAvailable: false, filmDistortionAvailable: false, lensDistortionAvailable: false } end def newAllocation intObj = { amount: nil, currency: nil, sourceId: nil, recipientId: nil, matching: false, comment: nil } end
The following element has default = true
def newGeographicExtent intObj = { containsData: true, identifier: {}, boundingBox: {}, geographicElement: [] } end
The mdTranslator defaults all Boolean elements to 'false' - with one exception. This should be reflected in the schema to improve documentation. See the list of internal object Boolean elements below...
The following elements have default = false
The following element has default = true