# Trait AddressCommon

Class AddressCommon

  AddressCommon uses ReferenceableObject

#### Direct Known Users

Address, AddressGroup
Located at object-classes/trait/AddressCommon.php

Methods summary
`public` | # `isAddress( )`
`public` | # `isGroup( )`
`public` | # `isTmpAddr( )`
`public` | # `removeReference( mixed $ref )`
`public` | # `addObjectWhereIamUsed( `Address`|`AddressGroup` $objectToAdd, boolean $displayOutput = FALSE, boolean $outputPadding = '', string|integer $skipIfConflict = FALSE, boolean $skipNatRules = FALSE )` #### Parameters $objectToAdd ``Address`|`AddressGroup`` $objectToAdd $displayOutput `boolean` $displayOutput $outputPadding `boolean` $skipIfConflict $skipIfConflict `string|integer` $outputPadding $skipNatRules `boolean` $skipNatRules
`public` | # `API_addObjectWhereIamUsed( `Address`|`AddressGroup` $objectToAdd, boolean $displayOutput = FALSE, boolean $outputPadding = '', string|integer $skipIfConflict = FALSE, boolean $skipNatRules = FALSE )` #### Parameters $objectToAdd ``Address`|`AddressGroup`` $objectToAdd $displayOutput `boolean` $displayOutput $outputPadding `boolean` $skipIfConflict $skipIfConflict `string|integer` $outputPadding $skipNatRules `boolean` $skipNatRules
`public` | # `removeWhereIamUsed( boolean $displayOutput = FALSE, string $outputPadding = '', string|integer $actionIfLastInRule = 'delete' )` #### Parameters $displayOutput `boolean` $displayOutput $outputPadding `string` $actionIfLastInRule can be delete|setany|disable $actionIfLastInRule `string|integer` $outputPadding
`public` | # `API_removeWhereIamUsed( boolean $displayOutput = FALSE, string $outputPadding = '', string|integer $actionIfLastInRule = 'delete' )` #### Parameters $displayOutput `boolean` $displayOutput $outputPadding `string` $actionIfLastInRule can be delete|setany|disable $actionIfLastInRule `string|integer` $outputPadding
`public` | # `API_replaceWhereIamUsed( boolean $withObject, `Service`|`ServiceGroup` $displayOutput = FALSE, string|integer $outputPadding = '' )` #### Parameters $withObject `boolean` $displayOutput $displayOutput ``Service`|`ServiceGroup`` $withObject $outputPadding `string|integer` $outputPadding
`public` | # `replaceWhereIamUsed( boolean $withObject, `Service`|`ServiceGroup` $displayOutput = FALSE, string|integer $outputPadding = '' )` #### Parameters $withObject `boolean` $displayOutput $displayOutput ``Service`|`ServiceGroup`` $withObject $outputPadding `string|integer` $outputPadding
`public` | # `__replaceWhereIamUsed( boolean $apiMode, boolean $withObject, `Address`|`AddressGroup` $displayOutput = FALSE, string|integer $outputPadding = '' )` #### Parameters $apiMode `boolean` $displayOutput $withObject `boolean` $apiMode $displayOutput ``Address`|`AddressGroup`` $withObject $outputPadding `string|integer` $outputPadding
`public boolean` | # `hasDescendants( )` looks into child DeviceGroups to see if an object with same name exists in lower levels looks into child DeviceGroups to see if an object with same name exists in lower levels #### Returns `boolean`

Methods used from ReferenceableObject
`(), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), removeReference()(as super_removeReference())`

Properties used from ReferenceableObject
`$name, $refcomphash, $refrules`

Magic properties summary
`public `AddressStore`` | $owner | #