com.collation.platform.model.topology.net.acl
Interface Rule
- All Superinterfaces:
- LogicalElement, ManagedElement, ManagedSystemElement, ModelObject, java.io.Serializable
public interface Rule
- extends LogicalElement
A rule defines a set of criteria for a access list that are associated with a certain action for the packet.
- Author:
- yashika, sathvanth
- Naming Rules:
- 0="parent,ruleIndex"
- Persistable:
- true
- Table Name:
- ACLRULE
- Display Name:
- ruleIndex
Methods inherited from interface com.collation.platform.model.ModelObject |
getAdminState, getAllAttributes, getBidiFlag, getBidiFormat, getCDMSource, getCmdbSource, getContextIp, getCreatedBy, getDescription, getDisplayName, getExtendedAttributes, getGuid, getLabel, getLastModifiedBy, getLastModifiedTime, getObjectType, getSourceToken, hasAdminState, hasBidiFlag, hasBidiFormat, hasCDMSource, hasCmdbSource, hasContextIp, hasDescription, hasDisplayName, hasExtendedAttributes, hasGuid, hasLabel, hasObjectType, hasSourceToken, setAdminState, setBidiFlag, setBidiFormat, setCDMSource, setCmdbSource, setContextIp, setDescription, setExtendedAttributes, setGuid, setLabel, setObjectType, setSourceToken |
getSrcAddressList
IpAddress[] getSrcAddressList()
throws AttributeNotSetException
- Acls contain a set of Rules
- Returns:
-
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.AppliesFrom"
reverse="false"
hasSrcAddressList
boolean hasSrcAddressList()
setSrcAddressList
void setSrcAddressList(IpAddress[] address)
getDstAddressList
IpAddress[] getDstAddressList()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.ControlsAccessTo"
reverse="false"
hasDstAddressList
boolean hasDstAddressList()
setDstAddressList
void setDstAddressList(IpAddress[] address)
getServiceList
NetworkService[] getServiceList()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.Authorizes"
reverse="false"
hasServiceList
boolean hasServiceList()
setServiceList
void setServiceList(NetworkService[] services)
getParent
Acl getParent()
throws AttributeNotSetException
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.Contains"
reverse="true"
hasParent
boolean hasParent()
setParent
void setParent(Acl acl)
getDestEndingPort
int getDestEndingPort()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasDestEndingPort
boolean hasDestEndingPort()
setDestEndingPort
void setDestEndingPort(int i)
getDestMask
IpAddress getDestMask()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.Uses"
reverse="false"
hasDestMask
boolean hasDestMask()
setDestMask
void setDestMask(IpAddress address)
getDestStartingPort
int getDestStartingPort()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasDestStartingPort
boolean hasDestStartingPort()
setDestStartingPort
void setDestStartingPort(int i)
getDirection
java.lang.String getDirection()
throws AttributeNotSetException
- Display string for the UI
- Returns:
-
- Throws:
AttributeNotSetException
hasDirection
boolean hasDirection()
setDirection
void setDirection(java.lang.String string)
getDirectionIndex
int getDirectionIndex()
throws AttributeNotSetException
- Returns:
- for the key
- Throws:
AttributeNotSetException
hasDirectionIndex
boolean hasDirectionIndex()
setDirectionIndex
void setDirectionIndex(int dirIndex)
getIntf
L2Interface getIntf()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.ControlsAccess"
reverse="false"
hasIntf
boolean hasIntf()
setIntf
void setIntf(L2Interface interface1)
getIntfIndex
int getIntfIndex()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasIntfIndex
boolean hasIntfIndex()
setIntfIndex
void setIntfIndex(int ifidx)
getIntfName
java.lang.String getIntfName()
throws AttributeNotSetException
- Returns:
- for the UI
- Throws:
AttributeNotSetException
hasIntfName
boolean hasIntfName()
setIntfName
void setIntfName(java.lang.String ifname)
getIpProtocol
int getIpProtocol()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasIpProtocol
boolean hasIpProtocol()
setIpProtocol
void setIpProtocol(int i)
getRuleAction
java.lang.String getRuleAction()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasRuleAction
boolean hasRuleAction()
setRuleAction
void setRuleAction(java.lang.String string)
getRuleIndex
int getRuleIndex()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasRuleIndex
boolean hasRuleIndex()
setRuleIndex
void setRuleIndex(int i)
getSrcEndingPort
int getSrcEndingPort()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasSrcEndingPort
boolean hasSrcEndingPort()
setSrcEndingPort
void setSrcEndingPort(int i)
getSrcMask
IpAddress getSrcMask()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.Uses"
reverse="false"
hasSrcMask
boolean hasSrcMask()
setSrcMask
void setSrcMask(IpAddress address)
getSrcStartingPort
int getSrcStartingPort()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasSrcStartingPort
boolean hasSrcStartingPort()
setSrcStartingPort
void setSrcStartingPort(int i)
getTypeOfService
int getTypeOfService()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
hasTypeOfService
boolean hasTypeOfService()
setTypeOfService
void setTypeOfService(int i)
getServiceName
java.lang.String getServiceName()
throws AttributeNotSetException
- Returns:
-
- Throws:
AttributeNotSetException
setServiceName
void setServiceName(java.lang.String svcName)
hasServiceName
boolean hasServiceName()