You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by pr...@apache.org on 2002/07/13 21:31:59 UTC
cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/metainfo BlockDescriptor.java
proyal 2002/07/13 12:31:59
Modified: src/java/org/apache/avalon/phoenix/metainfo
BlockDescriptor.java
Log:
Added schema-type.
Choose this class due to the commented out line indicating prior thoughts.
Revision Changes Path
1.8 +13 -1 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/metainfo/BlockDescriptor.java
Index: BlockDescriptor.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/metainfo/BlockDescriptor.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- BlockDescriptor.java 12 May 2002 02:02:26 -0000 1.7
+++ BlockDescriptor.java 13 Jul 2002 19:31:59 -0000 1.8
@@ -23,15 +23,17 @@
private final String m_name;
private final String m_classname;
private final Version m_version;
- //private final ConfigSchema m_schema;
+ private final String m_schemaType;
public BlockDescriptor( final String name,
final String classname,
+ final String schemaType,
final Version version )
{
m_name = name;
m_classname = classname;
m_version = version;
+ m_schemaType = schemaType;
}
/**
@@ -62,6 +64,16 @@
public Version getVersion()
{
return m_version;
+ }
+
+ /**
+ * Retrieve the Schema Type of Block
+ *
+ * @return the Schema Type of block
+ */
+ public String getSchemaType()
+ {
+ return m_schemaType;
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>