Class AddressUI

  • All Implemented Interfaces:
    br.com.jarch.model.IAddress<javax.faces.component.UIInput>, java.util.EventListener, javax.faces.component.EditableValueHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

    public class AddressUI
    extends javax.faces.component.UIInput
    implements br.com.jarch.model.IAddress<javax.faces.component.UIInput>
    • Field Summary

      • Fields inherited from class javax.faces.component.UIInput

        ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
      • Fields inherited from class javax.faces.component.UIComponent

        ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      AddressUI()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void encodeBegin​(javax.faces.context.FacesContext context)  
      javax.faces.component.UIInput getComplement()  
      javax.faces.component.UIInput getCounty()  
      javax.faces.component.UIInput getDistrict()  
      java.lang.String getFamily()  
      javax.faces.component.UIInput getPublicPlace()  
      javax.faces.component.UIInput getState()  
      javax.faces.component.UISelectOne getStateCombo()  
      java.lang.Object getSubmittedValue()  
      javax.faces.component.UIInput getZipCode()  
      void searchCep()  
      void setComplement​(javax.faces.component.UIInput complement)  
      void setCounty​(javax.faces.component.UIInput county)  
      void setDistrict​(javax.faces.component.UIInput district)  
      void setPublicPlace​(javax.faces.component.UIInput publicPlace)  
      void setState​(javax.faces.component.UIInput state)  
      void setStateCombo​(javax.faces.component.UISelectOne stateCombo)  
      void setZipCode​(javax.faces.component.UIInput zipCode)  
      • Methods inherited from class javax.faces.component.UIInput

        addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
      • Methods inherited from class javax.faces.component.UIOutput

        getConverter, getLocalValue, setConverter
      • Methods inherited from class javax.faces.component.UIComponentBase

        addClientBehavior, addFacesListener, broadcast, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
      • Methods inherited from class javax.faces.component.UIComponent

        encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.faces.component.ValueHolder

        getConverter, getLocalValue, setConverter
    • Constructor Detail

      • AddressUI

        public AddressUI()
    • Method Detail

      • getFamily

        public java.lang.String getFamily()
        Overrides:
        getFamily in class javax.faces.component.UIInput
      • getZipCode

        public javax.faces.component.UIInput getZipCode()
        Specified by:
        getZipCode in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • setZipCode

        public void setZipCode​(javax.faces.component.UIInput zipCode)
        Specified by:
        setZipCode in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • getPublicPlace

        public javax.faces.component.UIInput getPublicPlace()
        Specified by:
        getPublicPlace in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • setPublicPlace

        public void setPublicPlace​(javax.faces.component.UIInput publicPlace)
        Specified by:
        setPublicPlace in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • getComplement

        public javax.faces.component.UIInput getComplement()
        Specified by:
        getComplement in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • setComplement

        public void setComplement​(javax.faces.component.UIInput complement)
        Specified by:
        setComplement in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • getDistrict

        public javax.faces.component.UIInput getDistrict()
        Specified by:
        getDistrict in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • setDistrict

        public void setDistrict​(javax.faces.component.UIInput district)
        Specified by:
        setDistrict in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • getCounty

        public javax.faces.component.UIInput getCounty()
        Specified by:
        getCounty in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • setCounty

        public void setCounty​(javax.faces.component.UIInput county)
        Specified by:
        setCounty in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • getState

        public javax.faces.component.UIInput getState()
        Specified by:
        getState in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • setState

        public void setState​(javax.faces.component.UIInput state)
        Specified by:
        setState in interface br.com.jarch.model.IAddress<javax.faces.component.UIInput>
      • getStateCombo

        public javax.faces.component.UISelectOne getStateCombo()
      • setStateCombo

        public void setStateCombo​(javax.faces.component.UISelectOne stateCombo)
      • searchCep

        public void searchCep()
      • encodeBegin

        public void encodeBegin​(javax.faces.context.FacesContext context)
                         throws java.io.IOException
        Overrides:
        encodeBegin in class javax.faces.component.UIComponentBase
        Throws:
        java.io.IOException
      • getSubmittedValue

        public java.lang.Object getSubmittedValue()
        Specified by:
        getSubmittedValue in interface javax.faces.component.EditableValueHolder
        Overrides:
        getSubmittedValue in class javax.faces.component.UIInput