Module org.eclipse.persistence.core
Class Restriction
java.lang.Object
org.eclipse.persistence.internal.oxm.schema.model.Restriction
- All Implemented Interfaces:
SimpleDerivation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPattern(String regexp) getAll()getOwner()voidmergeWith(Restriction restriction) Overwrites attributes of this restriction with attributes of the argument, if they are not null.voidvoidvoidsetAttributes(List<Attribute> attributes) voidsetBaseType(String baseType) voidvoidsetEnumerationFacets(List values) voidsetFractionDigits(int fractionDigits) voidsetFractionDigits(String fractionDigits) voidsetLength(int length) voidvoidsetMaxExclusive(String maxExclusive) voidsetMaxInclusive(String maxInclusive) voidsetMaxLength(int maxLength) voidsetMaxLength(String maxLength) voidsetMinExclusive(String minExclusive) voidsetMinInclusive(String minInclusive) voidsetMinLength(int minLength) voidsetMinLength(String minLength) voidsetOwner(Restrictable owner) voidsetPatterns(List<String> patterns) voidsetSequence(Sequence sequence) voidsetSimpleType(SimpleType simpleType) voidsetTotalDigits(int totalDigits) voidsetTotalDigits(String totalDigits) voidsetTypeDefParticle(TypeDefParticle typeDefParticle)
-
Constructor Details
-
Restriction
public Restriction() -
Restriction
-
-
Method Details
-
setMinInclusive
-
getMinInclusive
-
setMaxInclusive
-
getMaxInclusive
-
setMinExclusive
-
getMinExclusive
-
setMaxExclusive
-
getMaxExclusive
-
setBaseType
-
getBaseType
-
setTypeDefParticle
-
getTypeDefParticle
-
setChoice
-
getChoice
-
setSequence
-
getSequence
-
setAll
-
getAll
-
setSimpleType
-
getSimpleType
-
setAttributes
-
getAttributes
-
getEnumerationFacets
-
setEnumerationFacets
-
setOwner
-
getOwner
-
getOwnerName
-
getAnyAttribute
-
setAnyAttribute
-
getTotalDigits
-
setTotalDigits
-
setTotalDigits
public void setTotalDigits(int totalDigits) -
getFractionDigits
-
setFractionDigits
-
setFractionDigits
public void setFractionDigits(int fractionDigits) -
getPatterns
-
setPatterns
-
addPattern
-
getLength
-
setLength
-
setLength
public void setLength(int length) -
getMinLength
-
setMinLength
-
setMinLength
public void setMinLength(int minLength) -
getMaxLength
-
setMaxLength
-
setMaxLength
public void setMaxLength(int maxLength) -
mergeWith
Overwrites attributes of this restriction with attributes of the argument, if they are not null.
-