org.eclipse.datatools.enablement.sybase.ase.models.sybaseasesqlmodel
Interface SybaseASERule

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, SQLObject
All Known Implementing Classes:
SybaseASECatalogRule, SybaseASERuleImpl

public interface SybaseASERule
extends SQLObject

A representation of the model object 'Sybase ASE Rule'.

The following features are supported:

See Also:
SybaseasesqlmodelPackage.getSybaseASERule()

Method Summary
 AccessRuleType getAccessType()
          Returns the value of the 'Access Type' attribute.
 SybaseASESchema getSchema()
          Returns the value of the 'Schema' reference.
 java.lang.String getStatement()
          Returns the value of the 'Statement' attribute.
 boolean isAccessRule()
          Returns the value of the 'Access Rule' attribute.
 void setAccessRule(boolean value)
          Sets the value of the 'Access Rule' attribute.
 void setAccessType(AccessRuleType value)
          Sets the value of the 'Access Type' attribute.
 void setSchema(SybaseASESchema value)
          Sets the value of the 'Schema' reference.
 void setStatement(java.lang.String value)
          Sets the value of the 'Statement' attribute.
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getSchema

SybaseASESchema getSchema()
Returns the value of the 'Schema' reference. It is bidirectional and its opposite is 'Rules'.

If the meaning of the 'Schema' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Schema' reference.
See Also:
setSchema(SybaseASESchema), SybaseasesqlmodelPackage.getSybaseASERule_Schema(), SybaseASESchema.getRules()

setSchema

void setSchema(SybaseASESchema value)
Sets the value of the 'Schema' reference.

Parameters:
value - the new value of the 'Schema' reference.
See Also:
getSchema()

getStatement

java.lang.String getStatement()
Returns the value of the 'Statement' attribute. SQL scripts of creation statement of this Rule

Returns:
the value of the 'Statement' attribute.
See Also:
setStatement(String), SybaseasesqlmodelPackage.getSybaseASERule_Statement()

setStatement

void setStatement(java.lang.String value)
Sets the value of the 'Statement' attribute.

Parameters:
value - the new value of the 'Statement' attribute.
See Also:
getStatement()

isAccessRule

boolean isAccessRule()
Returns the value of the 'Access Rule' attribute.

If the meaning of the 'Access Rule' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Access Rule' attribute.
See Also:
setAccessRule(boolean), SybaseasesqlmodelPackage.getSybaseASERule_AccessRule()

setAccessRule

void setAccessRule(boolean value)
Sets the value of the 'Access Rule' attribute.

Parameters:
value - the new value of the 'Access Rule' attribute.
See Also:
isAccessRule()

getAccessType

AccessRuleType getAccessType()
Returns the value of the 'Access Type' attribute. The default value is "DEF". The literals are from the enumeration AccessRuleType.

If the meaning of the 'Access Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Access Type' attribute.
See Also:
AccessRuleType, setAccessType(AccessRuleType), SybaseasesqlmodelPackage.getSybaseASERule_AccessType()

setAccessType

void setAccessType(AccessRuleType value)
Sets the value of the 'Access Type' attribute.

Parameters:
value - the new value of the 'Access Type' attribute.
See Also:
AccessRuleType, getAccessType()