java.lang.Object
org.eclipse.persistence.internal.oxm.schema.model.Restriction
All Implemented Interfaces:
SimpleDerivation

public class Restriction extends Object implements SimpleDerivation
  • Constructor Details

    • Restriction

      public Restriction()
    • Restriction

      public Restriction(String baseType)
  • Method Details

    • setMinInclusive

      public void setMinInclusive(String minInclusive)
    • getMinInclusive

      public String getMinInclusive()
    • setMaxInclusive

      public void setMaxInclusive(String maxInclusive)
    • getMaxInclusive

      public String getMaxInclusive()
    • setMinExclusive

      public void setMinExclusive(String minExclusive)
    • getMinExclusive

      public String getMinExclusive()
    • setMaxExclusive

      public void setMaxExclusive(String maxExclusive)
    • getMaxExclusive

      public String getMaxExclusive()
    • setBaseType

      public void setBaseType(String baseType)
    • getBaseType

      public String getBaseType()
    • setTypeDefParticle

      public void setTypeDefParticle(TypeDefParticle typeDefParticle)
    • getTypeDefParticle

      public TypeDefParticle getTypeDefParticle()
    • setChoice

      public void setChoice(Choice choice)
    • getChoice

      public Choice getChoice()
    • setSequence

      public void setSequence(Sequence sequence)
    • getSequence

      public Sequence getSequence()
    • setAll

      public void setAll(All all)
    • getAll

      public All getAll()
    • setSimpleType

      public void setSimpleType(SimpleType simpleType)
    • getSimpleType

      public SimpleType getSimpleType()
    • setAttributes

      public void setAttributes(List<Attribute> attributes)
    • getAttributes

      public List<Attribute> getAttributes()
    • getEnumerationFacets

      public List getEnumerationFacets()
    • setEnumerationFacets

      public void setEnumerationFacets(List values)
    • setOwner

      public void setOwner(Restrictable owner)
    • getOwner

      public Restrictable getOwner()
    • getOwnerName

      public String getOwnerName()
    • getAnyAttribute

      public AnyAttribute getAnyAttribute()
    • setAnyAttribute

      public void setAnyAttribute(AnyAttribute any)
    • getTotalDigits

      public String getTotalDigits()
    • setTotalDigits

      public void setTotalDigits(String totalDigits)
    • setTotalDigits

      public void setTotalDigits(int totalDigits)
    • getFractionDigits

      public String getFractionDigits()
    • setFractionDigits

      public void setFractionDigits(String fractionDigits)
    • setFractionDigits

      public void setFractionDigits(int fractionDigits)
    • getPatterns

      public List<String> getPatterns()
    • setPatterns

      public void setPatterns(List<String> patterns)
    • addPattern

      public void addPattern(String regexp)
    • getLength

      public String getLength()
    • setLength

      public void setLength(String length)
    • setLength

      public void setLength(int length)
    • getMinLength

      public String getMinLength()
    • setMinLength

      public void setMinLength(String minLength)
    • setMinLength

      public void setMinLength(int minLength)
    • getMaxLength

      public String getMaxLength()
    • setMaxLength

      public void setMaxLength(String maxLength)
    • setMaxLength

      public void setMaxLength(int maxLength)
    • mergeWith

      public void mergeWith(Restriction restriction)
      Overwrites attributes of this restriction with attributes of the argument, if they are not null.