All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nmorel.gwtjackson.rebind.property.PropertiesContainer Maven / Gradle / Ivy

Go to download

gwt-jackson is a GWT JSON serializer/deserializer mechanism based on Jackson annotations

There is a newer version: 0.15.4
Show newest version
/*
 * Copyright 2014 Nicolas Morel
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.nmorel.gwtjackson.rebind.property;

import com.google.gwt.thirdparty.guava.common.base.Optional;
import com.google.gwt.thirdparty.guava.common.collect.ImmutableMap;

/**
 * 

PropertiesContainer class.

* * @author Nicolas Morel * @version $Id: $ */ public class PropertiesContainer { private final ImmutableMap properties; private final Optional valuePropertyInfo; private final Optional anyGetterPropertyInfo; private final Optional anySetterPropertyInfo; /** *

Constructor for PropertiesContainer.

* * @param properties a {@link com.google.gwt.thirdparty.guava.common.collect.ImmutableMap} object. * @param valuePropertyInfo a {@link com.google.gwt.thirdparty.guava.common.base.Optional} object. * @param anyGetterPropertyInfo a {@link com.google.gwt.thirdparty.guava.common.base.Optional} object. * @param anySetterPropertyInfo a {@link com.google.gwt.thirdparty.guava.common.base.Optional} object. */ public PropertiesContainer( ImmutableMap properties, Optional valuePropertyInfo, Optional anyGetterPropertyInfo, Optional anySetterPropertyInfo ) { this.properties = properties; this.valuePropertyInfo = valuePropertyInfo; this.anyGetterPropertyInfo = anyGetterPropertyInfo; this.anySetterPropertyInfo = anySetterPropertyInfo; } /** *

Getter for the field properties.

* * @return a {@link com.google.gwt.thirdparty.guava.common.collect.ImmutableMap} object. */ public ImmutableMap getProperties() { return properties; } /** *

Getter for the field valuePropertyInfo.

* * @return a {@link com.google.gwt.thirdparty.guava.common.base.Optional} object. */ public Optional getValuePropertyInfo() { return valuePropertyInfo; } /** *

Getter for the field anyGetterPropertyInfo.

* * @return a {@link com.google.gwt.thirdparty.guava.common.base.Optional} object. */ public Optional getAnyGetterPropertyInfo() { return anyGetterPropertyInfo; } /** *

Getter for the field anySetterPropertyInfo.

* * @return a {@link com.google.gwt.thirdparty.guava.common.base.Optional} object. */ public Optional getAnySetterPropertyInfo() { return anySetterPropertyInfo; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy