Package com.db4o.config
Class WildcardAlias
- java.lang.Object
-
- com.db4o.config.WildcardAlias
-
- All Implemented Interfaces:
Alias
public class WildcardAlias extends java.lang.Object implements Alias
Wildcard Alias functionality to create aliases for packages, namespaces or multiple similar named classes. One single '*' wildcard character is supported in the names.
SeeAlias
for concrete examples.
-
-
Constructor Summary
Constructors Constructor Description WildcardAlias(java.lang.String storedPattern, java.lang.String runtimePattern)
Create a WildcardAlias with two patterns, the stored pattern and the pattern that is to be used at runtime.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
resolveRuntimeName(java.lang.String runtimeTypeName)
resolving is done through simple pattern matchingjava.lang.String
resolveStoredName(java.lang.String storedTypeName)
resolving is done through simple pattern matching
-
-
-
Method Detail
-
resolveRuntimeName
public java.lang.String resolveRuntimeName(java.lang.String runtimeTypeName)
resolving is done through simple pattern matching- Specified by:
resolveRuntimeName
in interfaceAlias
-
resolveStoredName
public java.lang.String resolveStoredName(java.lang.String storedTypeName)
resolving is done through simple pattern matching- Specified by:
resolveStoredName
in interfaceAlias
-
-