com.bea.schema.facet
Class FacetPattern

java.lang.Object
  extended bycom.bea.schema.SOMObject
      extended bycom.bea.schema.facet.SOMFacet
          extended bycom.bea.schema.facet.FacetPattern
All Implemented Interfaces:
Serializable

public class FacetPattern
extends SOMFacet

pattern is a constraint on the value space of a datatype which is achieved by constraining the lexical space to literals which match a specific pattern. The value of pattern must be a regular expression.

Version:
1.0
Author:
sharpe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bea.schema.facet.SOMFacet
duration, encoding, enumeration, fractionDigits, length, maxExclusive, maxInclusive, maxLength, minExclusive, minInclusive, minLength, pattern, period, precision, scale, totalDigits, whiteSpace
 
Constructor Summary
FacetPattern(String val)
           
 
Method Summary
 String createDefault()
           
 String getID()
          Returns a printable element tag for this Schema Object
 String getValue()
           
 boolean isValid(String value)
           
 void setValue(String val)
           
 
Methods inherited from class com.bea.schema.facet.SOMFacet
getAttributes, getFacet, getFixed, getTagName, setFixed, toXML
 
Methods inherited from class com.bea.schema.SOMObject
addPrefixMapping, getContainmentXPath, getEffectivePrefixMappings, getID_UQ, getParent, getParentName, getParentSchema, getPrefixForTargetNamespace, getPrefixMapping, getTargetNamespace, getURIForPrefix, isCircularReference, isSchemaChild, msg, msg, removeNamespaceQualifier, removePrefixMapping, setIndent, setParent, setTargetNamespace, toString, toXML, toXML, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FacetPattern

public FacetPattern(String val)
Method Detail

getID

public String getID()
Description copied from class: SOMObject
Returns a printable element tag for this Schema Object

Specified by:
getID in class SOMObject
Returns:
String representation of the element tag

getValue

public String getValue()
Specified by:
getValue in class SOMFacet

setValue

public void setValue(String val)
Specified by:
setValue in class SOMFacet

createDefault

public String createDefault()

isValid

public boolean isValid(String value)