org.geotoolkit.metadata.iso
Class DefaultApplicationSchemaInformation

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultApplicationSchemaInformation
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, ApplicationSchemaInformation

@ThreadSafe
public class DefaultApplicationSchemaInformation
extends MetadataEntity
implements ApplicationSchemaInformation

Information about the application schema used to build the dataset.

Since:
2.1
Version:
3.19
Author:
Martin Desruisseaux (IRD, Geomatys), Touraïvane (IRD), Cédric Briançon (Geomatys)
See Also:
Serialized Form
Module:
metadata/geotk-metadata (download)    View source code for this class

Field Summary
 
Fields inherited from class MetadataEntity
identifiers
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
DefaultApplicationSchemaInformation()
          Construct an initially empty application schema information.
DefaultApplicationSchemaInformation(ApplicationSchemaInformation source)
          Constructs a metadata entity initialized with the values from the specified metadata.
DefaultApplicationSchemaInformation(Citation name, String schemaLanguage, String constraintLanguage)
          Creates a application schema information initialized to the specified values.
 
Method Summary
static DefaultApplicationSchemaInformation castOrCopy(ApplicationSchemaInformation object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 String getConstraintLanguage()
          Formal language used in Application Schema.
 URI getGraphicsFile()
          Full application schema given as a graphics file.
 Citation getName()
          Name of the application schema used.
 URI getSchemaAscii()
          Full application schema given as an ASCII file.
 String getSchemaLanguage()
          Identification of the schema language used.
 URI getSoftwareDevelopmentFile()
          Full application schema given as a software development file.
 String getSoftwareDevelopmentFileFormat()
          Software dependent format used for the application schema software dependent file.
 void setConstraintLanguage(String newValue)
          Sets the formal language used in application schema.
 void setGraphicsFile(URI newValue)
          Sets the full application schema given as a graphics file.
 void setName(Citation newValue)
          Sets the name of the application schema used.
 void setSchemaAscii(URI newValue)
          Sets the full application schema given as an ASCII file.
 void setSchemaLanguage(String newValue)
          Sets the identification of the schema language used.
 void setSoftwareDevelopmentFile(URI newValue)
          Sets the full application schema given as a software development file.
 void setSoftwareDevelopmentFileFormat(String newValue)
          Sets the software dependent format used for the application schema software dependent file.
 
Methods inherited from class MetadataEntity
getIdentifier, getIdentifierMap, getIdentifiers, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultApplicationSchemaInformation

public DefaultApplicationSchemaInformation()
Construct an initially empty application schema information.


DefaultApplicationSchemaInformation

public DefaultApplicationSchemaInformation(ApplicationSchemaInformation source)
Constructs a metadata entity initialized with the values from the specified metadata.

Parameters:
source - The metadata to copy, or null if none.
Since:
2.4

DefaultApplicationSchemaInformation

public 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.
Method Detail

castOrCopy

public static DefaultApplicationSchemaInformation castOrCopy(ApplicationSchemaInformation object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. If the given object is null, then this method returns null. Otherwise if the given object is already a Geotk implementation, then the given object is returned unchanged. Otherwise a new Geotk implementation is created and initialized to the attribute values of the given object, using a shallow copy operation (i.e. attributes are not cloned).

Parameters:
object - The object to get as a Geotk implementation, or null if none.
Returns:
A Geotk implementation containing the values of the given object (may be the given object itself), or null if the argument was null.
Since:
3.18

getName

public Citation getName()
Name of the application schema used.

Specified by:
getName in interface ApplicationSchemaInformation

setName

public void setName(Citation newValue)
Sets the name of the application schema used.

Parameters:
newValue - The new name.

getSchemaLanguage

public String getSchemaLanguage()
Identification of the schema language used.

Specified by:
getSchemaLanguage in interface ApplicationSchemaInformation

setSchemaLanguage

public void setSchemaLanguage(String newValue)
Sets the identification of the schema language used.

Parameters:
newValue - The new schema language.

getConstraintLanguage

public String getConstraintLanguage()
Formal language used in Application Schema.

Specified by:
getConstraintLanguage in interface ApplicationSchemaInformation

setConstraintLanguage

public void setConstraintLanguage(String newValue)
Sets the formal language used in application schema.

Parameters:
newValue - The new constraint language.

getSchemaAscii

public URI getSchemaAscii()
Full application schema given as an ASCII file.

Specified by:
getSchemaAscii in interface ApplicationSchemaInformation

setSchemaAscii

public void setSchemaAscii(URI newValue)
Sets the full application schema given as an ASCII file.

Parameters:
newValue - The new ASCII file.

getGraphicsFile

public URI getGraphicsFile()
Full application schema given as a graphics file.

Specified by:
getGraphicsFile in interface ApplicationSchemaInformation

setGraphicsFile

public void setGraphicsFile(URI newValue)
Sets the full application schema given as a graphics file.

Parameters:
newValue - The new graphics file.

getSoftwareDevelopmentFile

public URI getSoftwareDevelopmentFile()
Full application schema given as a software development file.

Specified by:
getSoftwareDevelopmentFile in interface ApplicationSchemaInformation

setSoftwareDevelopmentFile

public void setSoftwareDevelopmentFile(URI newValue)
Sets the full application schema given as a software development file.

Parameters:
newValue - The new software development file.

getSoftwareDevelopmentFileFormat

public String getSoftwareDevelopmentFileFormat()
Software dependent format used for the application schema software dependent file.

Specified by:
getSoftwareDevelopmentFileFormat in interface ApplicationSchemaInformation

setSoftwareDevelopmentFileFormat

public void setSoftwareDevelopmentFileFormat(String newValue)
Sets the software dependent format used for the application schema software dependent file.

Parameters:
newValue - The new software development file format.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.