Class Restriction
- java.lang.Object
-
- org.eclipse.persistence.internal.oxm.schema.model.Restriction
-
- All Implemented Interfaces:
SimpleDerivation
public class Restriction extends Object implements SimpleDerivation
-
-
Constructor Summary
Constructors Constructor Description Restriction()
Restriction(String baseType)
-
Method Summary
-
-
-
Constructor Detail
-
Restriction
public Restriction()
-
Restriction
public Restriction(String baseType)
-
-
Method Detail
-
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 attributes)
-
getAttributes
public List getAttributes()
-
getEnumerationFacets
public ArrayList getEnumerationFacets()
-
setEnumerationFacets
public void setEnumerationFacets(ArrayList 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)
-
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.- Parameters:
restriction
-
-
-