org.springframework.roo.classpath.javaparser
Class JavaParserClassMetadata
java.lang.Object
org.springframework.roo.metadata.AbstractMetadataItem
org.springframework.roo.classpath.javaparser.JavaParserClassMetadata
- All Implemented Interfaces:
- org.springframework.roo.classpath.PhysicalTypeMetadata, org.springframework.roo.metadata.MetadataItem
public class JavaParserClassMetadata
- extends org.springframework.roo.metadata.AbstractMetadataItem
- implements org.springframework.roo.classpath.PhysicalTypeMetadata
Metadata returned by JavaParserMetadataProvider
.
- Since:
- 1.0
- Author:
- Ben Alex
Fields inherited from class org.springframework.roo.metadata.AbstractMetadataItem |
valid |
Constructor Summary |
JavaParserClassMetadata(org.springframework.roo.process.manager.FileManager fileManager,
String fileIdentifier,
String metadataIdentificationString,
org.springframework.roo.metadata.MetadataService metadataService,
org.springframework.roo.classpath.PhysicalTypeMetadataProvider physicalTypeMetadataProvider)
Creates a new JavaParserClassMetadata that parses the specified file. |
Methods inherited from class org.springframework.roo.metadata.AbstractMetadataItem |
getId, isValid |
Methods inherited from interface org.springframework.roo.metadata.MetadataItem |
getId, isValid |
JavaParserClassMetadata
public JavaParserClassMetadata(org.springframework.roo.process.manager.FileManager fileManager,
String fileIdentifier,
String metadataIdentificationString,
org.springframework.roo.metadata.MetadataService metadataService,
org.springframework.roo.classpath.PhysicalTypeMetadataProvider physicalTypeMetadataProvider)
- Creates a new
JavaParserClassMetadata
that parses the specified file.
The file must exist on disk when this constructor is invoked.
If the file contains any errors, the invalid flag will be set.
- Parameters:
fileManager
- that can be used for subsequently modifying the file (required)fileMetadata
- to parse (required)metadataIdentificationString
- to assign to this instance (required)
getPhysicalTypeDetails
public org.springframework.roo.classpath.PhysicalTypeDetails getPhysicalTypeDetails()
- Specified by:
getPhysicalTypeDetails
in interface org.springframework.roo.classpath.PhysicalTypeMetadata
getPhysicalLocationCanonicalPath
public String getPhysicalLocationCanonicalPath()
- Specified by:
getPhysicalLocationCanonicalPath
in interface org.springframework.roo.classpath.PhysicalTypeMetadata
getItdCanoncialPath
public String getItdCanoncialPath(org.springframework.roo.classpath.itd.ItdMetadataProvider metadataProvider)
- Specified by:
getItdCanoncialPath
in interface org.springframework.roo.classpath.PhysicalTypeMetadata
getItdJavaType
public org.springframework.roo.model.JavaType getItdJavaType(org.springframework.roo.classpath.itd.ItdMetadataProvider metadataProvider)
- Specified by:
getItdJavaType
in interface org.springframework.roo.classpath.PhysicalTypeMetadata
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2010 VMware, Inc. All Rights Reserved.