Package org.apache.sis.metadata.iso
Class DefaultApplicationSchemaInformation
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultApplicationSchemaInformation
- All Implemented Interfaces:
- Serializable,- Emptiable,- LenientComparable,- IdentifiedObject,- ApplicationSchemaInformation
public class DefaultApplicationSchemaInformation
extends ISOMetadata
implements ApplicationSchemaInformation
Information about the application schema used to build the dataset.
 The following properties are mandatory in a well-formed metadata according ISO 19115:
 
 
MD_ApplicationSchemaInformation
   ├─name…………………………………………………………… Name of the application schema used.
   │   ├─title……………………………………………… Name by which the cited resource is known.
   │   └─date………………………………………………… Reference date for the cited resource.
   ├─schemaLanguage………………………………… Identification of the schema language used.
   └─constraintLanguage……………………… Formal language used in Application Schema.Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
       Serialization support is appropriate for short term storage or RMI between applications running the
       same version of Apache SIS. For long term storage, use XMLinstead.
- Since:
- 0.3
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class ModifiableMetadataModifiableMetadata.State
- 
Field SummaryFields inherited from class ISOMetadataidentifiers
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct an initially empty application schema information.Constructs a new instance initialized with the values from the specified metadata object.DefaultApplicationSchemaInformation(Citation name, String schemaLanguage, String constraintLanguage) Creates a application schema information initialized to the specified values.
- 
Method SummaryModifier and TypeMethodDescriptionReturns a SIS metadata implementation with the values of the given arbitrary implementation.Formal language used in Application Schema.Full application schema given as a graphics file.getName()Name of the application schema used.Full application schema given as an ASCII file.Identification of the schema language used.Full application schema given as a software development file.Software dependent format used for the application schema software dependent file.voidsetConstraintLanguage(String newValue) Sets the formal language used in application schema.voidsetGraphicsFile(URI newValue) Sets the full application schema given as a graphics file.voidSets the name of the application schema used.voidsetSchemaAscii(URI newValue) Sets the full application schema given as an ASCII file.voidsetSchemaLanguage(String newValue) Sets the identification of the schema language used.voidsetSoftwareDevelopmentFile(URI newValue) Sets the full application schema given as a software development file.voidsetSoftwareDevelopmentFileFormat(String newValue) Sets the software dependent format used for the application schema software dependent file.Methods inherited from class ISOMetadatagetIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionToMethods inherited from class ModifiableMetadatacheckWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadataasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
- 
Constructor Details- 
DefaultApplicationSchemaInformationpublic DefaultApplicationSchemaInformation()Construct an initially empty application schema information.
- 
DefaultApplicationSchemaInformationpublic DefaultApplicationSchemaInformation(Citation name, String schemaLanguage, String constraintLanguage) Creates a application schema information initialized to the specified values.- Parameters:
- name- the name of the application schema used.
- schemaLanguage- the the identification of the schema language used.
- constraintLanguage- the formal language used in application schema.
 
- 
DefaultApplicationSchemaInformationConstructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
- object- the metadata to copy values from, or- nullif none.
- See Also:
 
 
- 
- 
Method Details- 
castOrCopyReturns a SIS metadata implementation with the values of the given arbitrary implementation. This method performs the first applicable action in the following choices:- If the given object is null, then this method returnsnull.
- Otherwise if the given object is already an instance of
       DefaultApplicationSchemaInformation, then it is returned unchanged.
- Otherwise a new DefaultApplicationSchemaInformationinstance is created using the copy constructor and returned. Note that this is a shallow copy operation, because the other metadata contained in the given object are not recursively copied.
 - Parameters:
- object- the object to get as a SIS implementation, or- nullif none.
- Returns:
- a SIS implementation containing the values of the given object (may be the
         given object itself), or nullif the argument was null.
 
- If the given object is 
- 
getNameName of the application schema used.- Specified by:
- getNamein interface- ApplicationSchemaInformation
- Returns:
- name of the application schema, or null.
 
- 
setNameSets the name of the application schema used.- Parameters:
- newValue- the new name.
 
- 
getSchemaLanguageIdentification of the schema language used.- Specified by:
- getSchemaLanguagein interface- ApplicationSchemaInformation
- Returns:
- the schema language used, or null.
 
- 
setSchemaLanguageSets the identification of the schema language used.- Parameters:
- newValue- the new schema language.
 
- 
getConstraintLanguageFormal language used in Application Schema.- Specified by:
- getConstraintLanguagein interface- ApplicationSchemaInformation
- Returns:
- formal language used in Application Schema, or null.
 
- 
setConstraintLanguageSets the formal language used in application schema.- Parameters:
- newValue- the new constraint language.
 
- 
getSchemaAsciiFull application schema given as an ASCII file.- Specified by:
- getSchemaAsciiin interface- ApplicationSchemaInformation
- Returns:
- application schema as an ASCII file, or null.
 
- 
setSchemaAsciiSets the full application schema given as an ASCII file.- Parameters:
- newValue- the new ASCII file.
 
- 
getGraphicsFileFull application schema given as a graphics file.Upcoming API change
 As of ISO 19115:2014,URIis replaced byOnlineResource. This change may be applied in GeoAPI 4.0.- Specified by:
- getGraphicsFilein interface- ApplicationSchemaInformation
- Returns:
- application schema as a graphics file, or null.
 
- 
setGraphicsFileSets the full application schema given as a graphics file.Upcoming API change
 As of ISO 19115:2014,URIis replaced byOnlineResource. This change may be applied in GeoAPI 4.0.- Parameters:
- newValue- the new graphics file.
 
- 
getSoftwareDevelopmentFileFull application schema given as a software development file.Upcoming API change
 As of ISO 19115:2014,URIis replaced byOnlineResource. This change may be applied in GeoAPI 4.0.- Specified by:
- getSoftwareDevelopmentFilein interface- ApplicationSchemaInformation
- Returns:
- application schema as a software development file, or null.
 
- 
setSoftwareDevelopmentFileSets the full application schema given as a software development file.Upcoming API change
 As of ISO 19115:2014,URIis replaced byOnlineResource. This change may be applied in GeoAPI 4.0.- Parameters:
- newValue- the new software development file.
 
- 
getSoftwareDevelopmentFileFormatSoftware dependent format used for the application schema software dependent file.- Specified by:
- getSoftwareDevelopmentFileFormatin interface- ApplicationSchemaInformation
- Returns:
- format used for the application schema software file, or null.
 
- 
setSoftwareDevelopmentFileFormatSets the software dependent format used for the application schema software dependent file.- Parameters:
- newValue- the new software development file format.
 
 
-