Class SourceObject
java.lang.Object
net.sourceforge.pmd.util.database.SourceObject
Instantiate the fields required to retrieve the source code.
- Author:
- sturton
-
Method Details
-
toString
-
getSchema
- Returns:
- the schema
-
setSchema
- Parameters:
schema- the schema to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-
getRevision
- Returns:
- the revision
-
setRevision
- Parameters:
revision- the revision to set
-
getSuffixFromType
Map the type to a file suffix associated with aLanguage- Returns:
- inferred suffix
-
getPseudoFileName
Gets the data source as a pseudo file name (faux-file). Adding a suffix matching the source object type ensures that the appropriate language parser is used.
-