/** The meta-bean for {@code InflationCurveTypeConfiguration}. */
  public static class Meta extends CurveTypeConfiguration.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code reference} property. */
    private final MetaProperty<String> _reference =
        DirectMetaProperty.ofReadWrite(
            this, "reference", InflationCurveTypeConfiguration.class, String.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "reference");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -925155509: // reference
          return _reference;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends InflationCurveTypeConfiguration> builder() {
      return new DirectBeanBuilder<InflationCurveTypeConfiguration>(
          new InflationCurveTypeConfiguration());
    }

    @Override
    public Class<? extends InflationCurveTypeConfiguration> beanType() {
      return InflationCurveTypeConfiguration.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code reference} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> reference() {
      return _reference;
    }
  }
  /** The meta-bean for {@code DocumentationHolder}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code documentation} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Documentation<?>> documentation =
        DirectMetaProperty.ofReadWrite(
            this, "documentation", DocumentationHolder.class, (Class) Documentation.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> map =
        new DirectMetaPropertyMap(this, null, "documentation");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 1587405498: // documentation
          return documentation;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends DocumentationHolder> builder() {
      return new DirectBeanBuilder<DocumentationHolder>(new DocumentationHolder());
    }

    @Override
    public Class<? extends DocumentationHolder> beanType() {
      return DocumentationHolder.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code documentation} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Documentation<?>> documentation() {
      return documentation;
    }
  }
  /** The meta-bean for {@code StockFutureSecurity}. */
  public static class Meta extends FutureSecurity.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code underlyingId} property. */
    private final MetaProperty<ExternalId> _underlyingId =
        DirectMetaProperty.ofReadWrite(
            this, "underlyingId", StockFutureSecurity.class, ExternalId.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "underlyingId");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -771625640: // underlyingId
          return _underlyingId;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends StockFutureSecurity> builder() {
      return new DirectBeanBuilder<StockFutureSecurity>(new StockFutureSecurity());
    }

    @Override
    public Class<? extends StockFutureSecurity> beanType() {
      return StockFutureSecurity.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code underlyingId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> underlyingId() {
      return _underlyingId;
    }
  }
  /** The meta-bean for {@code CogdaCommandMessage}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code correlationId} property. */
    private final MetaProperty<Long> _correlationId =
        DirectMetaProperty.ofReadWrite(this, "correlationId", CogdaCommandMessage.class, Long.TYPE);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "correlationId");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -764983747: // correlationId
          return _correlationId;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends CogdaCommandMessage> builder() {
      throw new UnsupportedOperationException("CogdaCommandMessage is an abstract class");
    }

    @Override
    public Class<? extends CogdaCommandMessage> beanType() {
      return CogdaCommandMessage.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code correlationId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Long> correlationId() {
      return _correlationId;
    }
  }
示例#5
0
  /** The meta-bean for {@code ReportingCurrency}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code type} property. */
    private final MetaProperty<ReportingCurrencyType> type =
        DirectMetaProperty.ofImmutable(
            this, "type", ReportingCurrency.class, ReportingCurrencyType.class);
    /** The meta-property for the {@code currency} property. */
    private final MetaProperty<Currency> currency =
        DirectMetaProperty.ofImmutable(this, "currency", ReportingCurrency.class, Currency.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "type", "currency");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 3575610: // type
          return type;
        case 575402001: // currency
          return currency;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ReportingCurrency> builder() {
      return new ReportingCurrency.Builder();
    }

    @Override
    public Class<? extends ReportingCurrency> beanType() {
      return ReportingCurrency.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code type} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<ReportingCurrencyType> type() {
      return type;
    }

    /**
     * The meta-property for the {@code currency} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<Currency> currency() {
      return currency;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 3575610: // type
          return ((ReportingCurrency) bean).getType();
        case 575402001: // currency
          return ((ReportingCurrency) bean).currency;
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
示例#6
0
  /** The meta-bean for {@code ImmMinimal}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code number} property. */
    private final MetaProperty<Integer> number =
        DirectMetaProperty.ofImmutable(this, "number", ImmMinimal.class, Integer.TYPE);
    /** The meta-property for the {@code street} property. */
    private final MetaProperty<String> street =
        DirectMetaProperty.ofImmutable(this, "street", ImmMinimal.class, String.class);
    /** The meta-property for the {@code city} property. */
    private final MetaProperty<String> city =
        DirectMetaProperty.ofImmutable(this, "city", ImmMinimal.class, String.class);
    /** The meta-property for the {@code owner} property. */
    private final MetaProperty<ImmPerson> owner =
        DirectMetaProperty.ofImmutable(this, "owner", ImmMinimal.class, ImmPerson.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "number", "street", "city", "owner");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1034364087: // number
          return number;
        case -891990013: // street
          return street;
        case 3053931: // city
          return city;
        case 106164915: // owner
          return owner;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ImmMinimal> builder() {
      return new ImmMinimal.Builder();
    }

    @Override
    public Class<? extends ImmMinimal> beanType() {
      return ImmMinimal.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1034364087: // number
          return ((ImmMinimal) bean).getNumber();
        case -891990013: // street
          return ((ImmMinimal) bean).getStreet();
        case 3053931: // city
          return ((ImmMinimal) bean).getCity();
        case 106164915: // owner
          return ((ImmMinimal) bean).getOwner();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
  /** The meta-bean for {@code InterestRateSwapSecurity}. */
  public static final class Meta extends FinancialSecurity.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code notionalExchange} property. */
    private final MetaProperty<NotionalExchange> _notionalExchange =
        DirectMetaProperty.ofReadWrite(
            this, "notionalExchange", InterestRateSwapSecurity.class, NotionalExchange.class);
    /** The meta-property for the {@code effectiveDate} property. */
    private final MetaProperty<LocalDate> _effectiveDate =
        DirectMetaProperty.ofReadWrite(
            this, "effectiveDate", InterestRateSwapSecurity.class, LocalDate.class);
    /** The meta-property for the {@code unadjustedMaturityDate} property. */
    private final MetaProperty<LocalDate> _unadjustedMaturityDate =
        DirectMetaProperty.ofReadWrite(
            this, "unadjustedMaturityDate", InterestRateSwapSecurity.class, LocalDate.class);
    /** The meta-property for the {@code legs} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<InterestRateSwapLeg>> _legs =
        DirectMetaProperty.ofReadWrite(
            this, "legs", InterestRateSwapSecurity.class, (Class) List.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "notionalExchange",
            "effectiveDate",
            "unadjustedMaturityDate",
            "legs");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -159410813: // notionalExchange
          return _notionalExchange;
        case -930389515: // effectiveDate
          return _effectiveDate;
        case -2038917498: // unadjustedMaturityDate
          return _unadjustedMaturityDate;
        case 3317797: // legs
          return _legs;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends InterestRateSwapSecurity> builder() {
      return new DirectBeanBuilder<InterestRateSwapSecurity>(new InterestRateSwapSecurity());
    }

    @Override
    public Class<? extends InterestRateSwapSecurity> beanType() {
      return InterestRateSwapSecurity.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code notionalExchange} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<NotionalExchange> notionalExchange() {
      return _notionalExchange;
    }

    /**
     * The meta-property for the {@code effectiveDate} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<LocalDate> effectiveDate() {
      return _effectiveDate;
    }

    /**
     * The meta-property for the {@code unadjustedMaturityDate} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<LocalDate> unadjustedMaturityDate() {
      return _unadjustedMaturityDate;
    }

    /**
     * The meta-property for the {@code legs} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<List<InterestRateSwapLeg>> legs() {
      return _legs;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -159410813: // notionalExchange
          return ((InterestRateSwapSecurity) bean).getNotionalExchange();
        case -930389515: // effectiveDate
          return ((InterestRateSwapSecurity) bean).getEffectiveDate();
        case -2038917498: // unadjustedMaturityDate
          return ((InterestRateSwapSecurity) bean).getUnadjustedMaturityDate();
        case 3317797: // legs
          return ((InterestRateSwapSecurity) bean).getLegs();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -159410813: // notionalExchange
          ((InterestRateSwapSecurity) bean).setNotionalExchange((NotionalExchange) newValue);
          return;
        case -930389515: // effectiveDate
          ((InterestRateSwapSecurity) bean).setEffectiveDate((LocalDate) newValue);
          return;
        case -2038917498: // unadjustedMaturityDate
          ((InterestRateSwapSecurity) bean).setUnadjustedMaturityDate((LocalDate) newValue);
          return;
        case 3317797: // legs
          ((InterestRateSwapSecurity) bean).setLegs((List<InterestRateSwapLeg>) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(
          ((InterestRateSwapSecurity) bean)._notionalExchange, "notionalExchange");
      JodaBeanUtils.notNull(((InterestRateSwapSecurity) bean)._legs, "legs");
      super.validate(bean);
    }
  }
  /** The meta-bean for {@code CommodityFutureOptionSecurity}. */
  public static class Meta extends FinancialSecurity.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code tradingExchange} property. */
    private final MetaProperty<String> _tradingExchange =
        DirectMetaProperty.ofReadWrite(
            this, "tradingExchange", CommodityFutureOptionSecurity.class, String.class);
    /** The meta-property for the {@code settlementExchange} property. */
    private final MetaProperty<String> _settlementExchange =
        DirectMetaProperty.ofReadWrite(
            this, "settlementExchange", CommodityFutureOptionSecurity.class, String.class);
    /** The meta-property for the {@code expiry} property. */
    private final MetaProperty<Expiry> _expiry =
        DirectMetaProperty.ofReadWrite(
            this, "expiry", CommodityFutureOptionSecurity.class, Expiry.class);
    /** The meta-property for the {@code exerciseType} property. */
    private final MetaProperty<ExerciseType> _exerciseType =
        DirectMetaProperty.ofReadWrite(
            this, "exerciseType", CommodityFutureOptionSecurity.class, ExerciseType.class);
    /** The meta-property for the {@code underlyingId} property. */
    private final MetaProperty<ExternalId> _underlyingId =
        DirectMetaProperty.ofReadWrite(
            this, "underlyingId", CommodityFutureOptionSecurity.class, ExternalId.class);
    /** The meta-property for the {@code pointValue} property. */
    private final MetaProperty<Double> _pointValue =
        DirectMetaProperty.ofReadWrite(
            this, "pointValue", CommodityFutureOptionSecurity.class, Double.TYPE);
    /** The meta-property for the {@code currency} property. */
    private final MetaProperty<Currency> _currency =
        DirectMetaProperty.ofReadWrite(
            this, "currency", CommodityFutureOptionSecurity.class, Currency.class);
    /** The meta-property for the {@code strike} property. */
    private final MetaProperty<Double> _strike =
        DirectMetaProperty.ofReadWrite(
            this, "strike", CommodityFutureOptionSecurity.class, Double.TYPE);
    /** The meta-property for the {@code optionType} property. */
    private final MetaProperty<OptionType> _optionType =
        DirectMetaProperty.ofReadWrite(
            this, "optionType", CommodityFutureOptionSecurity.class, OptionType.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "tradingExchange",
            "settlementExchange",
            "expiry",
            "exerciseType",
            "underlyingId",
            "pointValue",
            "currency",
            "strike",
            "optionType");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -661485980: // tradingExchange
          return _tradingExchange;
        case 389497452: // settlementExchange
          return _settlementExchange;
        case -1289159373: // expiry
          return _expiry;
        case -466331342: // exerciseType
          return _exerciseType;
        case -771625640: // underlyingId
          return _underlyingId;
        case 1257391553: // pointValue
          return _pointValue;
        case 575402001: // currency
          return _currency;
        case -891985998: // strike
          return _strike;
        case 1373587791: // optionType
          return _optionType;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends CommodityFutureOptionSecurity> builder() {
      return new DirectBeanBuilder<CommodityFutureOptionSecurity>(
          new CommodityFutureOptionSecurity());
    }

    @Override
    public Class<? extends CommodityFutureOptionSecurity> beanType() {
      return CommodityFutureOptionSecurity.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code tradingExchange} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> tradingExchange() {
      return _tradingExchange;
    }

    /**
     * The meta-property for the {@code settlementExchange} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> settlementExchange() {
      return _settlementExchange;
    }

    /**
     * The meta-property for the {@code expiry} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Expiry> expiry() {
      return _expiry;
    }

    /**
     * The meta-property for the {@code exerciseType} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExerciseType> exerciseType() {
      return _exerciseType;
    }

    /**
     * The meta-property for the {@code underlyingId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> underlyingId() {
      return _underlyingId;
    }

    /**
     * The meta-property for the {@code pointValue} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Double> pointValue() {
      return _pointValue;
    }

    /**
     * The meta-property for the {@code currency} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Currency> currency() {
      return _currency;
    }

    /**
     * The meta-property for the {@code strike} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Double> strike() {
      return _strike;
    }

    /**
     * The meta-property for the {@code optionType} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<OptionType> optionType() {
      return _optionType;
    }
  }
示例#9
0
  /** The meta-bean for {@code ComputeHost}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code id} property. */
    private final MetaProperty<Long> _id =
        DirectMetaProperty.ofReadWrite(this, "id", ComputeHost.class, Long.TYPE);
    /** The meta-property for the {@code hostName} property. */
    private final MetaProperty<String> _hostName =
        DirectMetaProperty.ofReadWrite(this, "hostName", ComputeHost.class, String.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "id", "hostName");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 3355: // id
          return _id;
        case -300756909: // hostName
          return _hostName;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ComputeHost> builder() {
      return new DirectBeanBuilder<ComputeHost>(new ComputeHost());
    }

    @Override
    public Class<? extends ComputeHost> beanType() {
      return ComputeHost.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code id} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Long> id() {
      return _id;
    }

    /**
     * The meta-property for the {@code hostName} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> hostName() {
      return _hostName;
    }
  }
  /** The meta-bean for {@code SecurityEnhancerResult}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code resultList} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<Security>> _resultList =
        DirectMetaProperty.ofReadWrite(
            this, "resultList", SecurityEnhancerResult.class, (Class) List.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "resultList");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -572090789: // resultList
          return _resultList;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SecurityEnhancerResult> builder() {
      return new DirectBeanBuilder<SecurityEnhancerResult>(new SecurityEnhancerResult());
    }

    @Override
    public Class<? extends SecurityEnhancerResult> beanType() {
      return SecurityEnhancerResult.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code resultList} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<Security>> resultList() {
      return _resultList;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -572090789: // resultList
          return ((SecurityEnhancerResult) bean).getResultList();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -572090789: // resultList
          ((SecurityEnhancerResult) bean).setResultList((List<Security>) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(((SecurityEnhancerResult) bean)._resultList, "resultList");
    }
  }
示例#11
0
  /** The meta-bean for {@code FloatingRateName}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code name} property. */
    private final MetaProperty<String> name =
        DirectMetaProperty.ofImmutable(this, "name", FloatingRateName.class, String.class);
    /** The meta-property for the {@code indexName} property. */
    private final MetaProperty<String> indexName =
        DirectMetaProperty.ofImmutable(this, "indexName", FloatingRateName.class, String.class);
    /** The meta-property for the {@code type} property. */
    private final MetaProperty<FloatingRateType> type =
        DirectMetaProperty.ofImmutable(
            this, "type", FloatingRateName.class, FloatingRateType.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "name", "indexName", "type");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 3373707: // name
          return name;
        case -807707011: // indexName
          return indexName;
        case 3575610: // type
          return type;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends FloatingRateName> builder() {
      return new FloatingRateName.Builder();
    }

    @Override
    public Class<? extends FloatingRateName> beanType() {
      return FloatingRateName.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code name} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<String> name() {
      return name;
    }

    /**
     * The meta-property for the {@code indexName} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<String> indexName() {
      return indexName;
    }

    /**
     * The meta-property for the {@code type} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<FloatingRateType> type() {
      return type;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 3373707: // name
          return ((FloatingRateName) bean).getName();
        case -807707011: // indexName
          return ((FloatingRateName) bean).getIndexName();
        case 3575610: // type
          return ((FloatingRateName) bean).getType();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
  /** The meta-bean for {@code EquityIndexBean}. */
  public static class Meta extends IndexBean.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code equityComponents} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<EquityIndexComponentBean>> _equityComponents =
        DirectMetaProperty.ofReadWrite(
            this, "equityComponents", EquityIndexBean.class, (Class) List.class);
    /** The meta-property for the {@code weightingType} property. */
    private final MetaProperty<IndexWeightingTypeBean> _weightingType =
        DirectMetaProperty.ofReadWrite(
            this, "weightingType", EquityIndexBean.class, IndexWeightingTypeBean.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "equityComponents",
            "weightingType");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -281080901: // equityComponents
          return _equityComponents;
        case 86270148: // weightingType
          return _weightingType;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends EquityIndexBean> builder() {
      return new DirectBeanBuilder<EquityIndexBean>(new EquityIndexBean());
    }

    @Override
    public Class<? extends EquityIndexBean> beanType() {
      return EquityIndexBean.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code equityComponents} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<EquityIndexComponentBean>> equityComponents() {
      return _equityComponents;
    }

    /**
     * The meta-property for the {@code weightingType} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<IndexWeightingTypeBean> weightingType() {
      return _weightingType;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -281080901: // equityComponents
          return ((EquityIndexBean) bean).getEquityComponents();
        case 86270148: // weightingType
          return ((EquityIndexBean) bean).getWeightingType();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -281080901: // equityComponents
          ((EquityIndexBean) bean).setEquityComponents((List<EquityIndexComponentBean>) newValue);
          return;
        case 86270148: // weightingType
          ((EquityIndexBean) bean).setWeightingType((IndexWeightingTypeBean) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }
  }
示例#13
0
  /** The meta-bean for {@code AbstractLink}. */
  public static class Meta<T extends UniqueIdentifiable> extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    @SuppressWarnings("rawtypes")
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code objectId} property. */
    private final MetaProperty<ObjectId> _objectId =
        DirectMetaProperty.ofReadWrite(this, "objectId", AbstractLink.class, ObjectId.class);
    /** The meta-property for the {@code externalId} property. */
    private final MetaProperty<ExternalIdBundle> _externalId =
        DirectMetaProperty.ofReadWrite(
            this, "externalId", AbstractLink.class, ExternalIdBundle.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "objectId", "externalId");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 90495162: // objectId
          return _objectId;
        case -1699764666: // externalId
          return _externalId;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends AbstractLink<T>> builder() {
      throw new UnsupportedOperationException("AbstractLink is an abstract class");
    }

    @SuppressWarnings({"unchecked", "rawtypes"})
    @Override
    public Class<? extends AbstractLink<T>> beanType() {
      return (Class) AbstractLink.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code objectId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ObjectId> objectId() {
      return _objectId;
    }

    /**
     * The meta-property for the {@code externalId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalIdBundle> externalId() {
      return _externalId;
    }
  }
  /** The meta-bean for {@code SabrInterestRateParameters}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code alphaSurface} property. */
    private final MetaProperty<NodalSurface> alphaSurface =
        DirectMetaProperty.ofImmutable(
            this, "alphaSurface", SabrInterestRateParameters.class, NodalSurface.class);
    /** The meta-property for the {@code betaSurface} property. */
    private final MetaProperty<NodalSurface> betaSurface =
        DirectMetaProperty.ofImmutable(
            this, "betaSurface", SabrInterestRateParameters.class, NodalSurface.class);
    /** The meta-property for the {@code rhoSurface} property. */
    private final MetaProperty<NodalSurface> rhoSurface =
        DirectMetaProperty.ofImmutable(
            this, "rhoSurface", SabrInterestRateParameters.class, NodalSurface.class);
    /** The meta-property for the {@code nuSurface} property. */
    private final MetaProperty<NodalSurface> nuSurface =
        DirectMetaProperty.ofImmutable(
            this, "nuSurface", SabrInterestRateParameters.class, NodalSurface.class);
    /** The meta-property for the {@code sabrFunctionProvider} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<VolatilityFunctionProvider<SabrFormulaData>> sabrFunctionProvider =
        DirectMetaProperty.ofImmutable(
            this,
            "sabrFunctionProvider",
            SabrInterestRateParameters.class,
            (Class) VolatilityFunctionProvider.class);
    /** The meta-property for the {@code shiftSurface} property. */
    private final MetaProperty<NodalSurface> shiftSurface =
        DirectMetaProperty.ofImmutable(
            this, "shiftSurface", SabrInterestRateParameters.class, NodalSurface.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            null,
            "alphaSurface",
            "betaSurface",
            "rhoSurface",
            "nuSurface",
            "sabrFunctionProvider",
            "shiftSurface");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 667823471: // alphaSurface
          return alphaSurface;
        case -526589795: // betaSurface
          return betaSurface;
        case 65433972: // rhoSurface
          return rhoSurface;
        case 605272294: // nuSurface
          return nuSurface;
        case 678202663: // sabrFunctionProvider
          return sabrFunctionProvider;
        case 1038377419: // shiftSurface
          return shiftSurface;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SabrInterestRateParameters> builder() {
      return new SabrInterestRateParameters.Builder();
    }

    @Override
    public Class<? extends SabrInterestRateParameters> beanType() {
      return SabrInterestRateParameters.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code alphaSurface} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<NodalSurface> alphaSurface() {
      return alphaSurface;
    }

    /**
     * The meta-property for the {@code betaSurface} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<NodalSurface> betaSurface() {
      return betaSurface;
    }

    /**
     * The meta-property for the {@code rhoSurface} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<NodalSurface> rhoSurface() {
      return rhoSurface;
    }

    /**
     * The meta-property for the {@code nuSurface} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<NodalSurface> nuSurface() {
      return nuSurface;
    }

    /**
     * The meta-property for the {@code sabrFunctionProvider} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<VolatilityFunctionProvider<SabrFormulaData>> sabrFunctionProvider() {
      return sabrFunctionProvider;
    }

    /**
     * The meta-property for the {@code shiftSurface} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<NodalSurface> shiftSurface() {
      return shiftSurface;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 667823471: // alphaSurface
          return ((SabrInterestRateParameters) bean).getAlphaSurface();
        case -526589795: // betaSurface
          return ((SabrInterestRateParameters) bean).getBetaSurface();
        case 65433972: // rhoSurface
          return ((SabrInterestRateParameters) bean).getRhoSurface();
        case 605272294: // nuSurface
          return ((SabrInterestRateParameters) bean).getNuSurface();
        case 678202663: // sabrFunctionProvider
          return ((SabrInterestRateParameters) bean).getSabrFunctionProvider();
        case 1038377419: // shiftSurface
          return ((SabrInterestRateParameters) bean).getShiftSurface();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
示例#15
0
  /** The meta-bean for {@code ImmSubSubPersonFinal}. */
  public static final class Meta extends ImmSubPersonNonFinal.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code codeCounts} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<ImmutableMultiset<String>> codeCounts =
        DirectMetaProperty.ofImmutable(
            this, "codeCounts", ImmSubSubPersonFinal.class, (Class) ImmutableMultiset.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "codeCounts");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1383758447: // codeCounts
          return codeCounts;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public ImmSubSubPersonFinal.Builder builder() {
      return new ImmSubSubPersonFinal.Builder();
    }

    @Override
    public Class<? extends ImmSubSubPersonFinal> beanType() {
      return ImmSubSubPersonFinal.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code codeCounts} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<ImmutableMultiset<String>> codeCounts() {
      return codeCounts;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1383758447: // codeCounts
          return ((ImmSubSubPersonFinal) bean).getCodeCounts();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
  /** The meta-bean for {@code SimpleUserAccount}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code userName} property. */
    private final MetaProperty<String> _userName =
        DirectMetaProperty.ofReadWrite(this, "userName", SimpleUserAccount.class, String.class);
    /** The meta-property for the {@code passwordHash} property. */
    private final MetaProperty<String> _passwordHash =
        DirectMetaProperty.ofReadWrite(this, "passwordHash", SimpleUserAccount.class, String.class);
    /** The meta-property for the {@code status} property. */
    private final MetaProperty<UserAccountStatus> _status =
        DirectMetaProperty.ofReadWrite(
            this, "status", SimpleUserAccount.class, UserAccountStatus.class);
    /** The meta-property for the {@code alternateIds} property. */
    private final MetaProperty<ExternalIdBundle> _alternateIds =
        DirectMetaProperty.ofReadWrite(
            this, "alternateIds", SimpleUserAccount.class, ExternalIdBundle.class);
    /** The meta-property for the {@code roles} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Set<String>> _roles =
        DirectMetaProperty.ofReadWrite(this, "roles", SimpleUserAccount.class, (Class) Set.class);
    /** The meta-property for the {@code permissions} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Set<String>> _permissions =
        DirectMetaProperty.ofReadWrite(
            this, "permissions", SimpleUserAccount.class, (Class) Set.class);
    /** The meta-property for the {@code emailAddress} property. */
    private final MetaProperty<String> _emailAddress =
        DirectMetaProperty.ofReadWrite(this, "emailAddress", SimpleUserAccount.class, String.class);
    /** The meta-property for the {@code profile} property. */
    private final MetaProperty<SimpleUserProfile> _profile =
        DirectMetaProperty.ofReadWrite(
            this, "profile", SimpleUserAccount.class, SimpleUserProfile.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            null,
            "userName",
            "passwordHash",
            "status",
            "alternateIds",
            "roles",
            "permissions",
            "emailAddress",
            "profile");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -266666762: // userName
          return _userName;
        case 566700617: // passwordHash
          return _passwordHash;
        case -892481550: // status
          return _status;
        case -1805823010: // alternateIds
          return _alternateIds;
        case 108695229: // roles
          return _roles;
        case 1133704324: // permissions
          return _permissions;
        case -1070931784: // emailAddress
          return _emailAddress;
        case -309425751: // profile
          return _profile;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SimpleUserAccount> builder() {
      return new DirectBeanBuilder<SimpleUserAccount>(new SimpleUserAccount());
    }

    @Override
    public Class<? extends SimpleUserAccount> beanType() {
      return SimpleUserAccount.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code userName} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> userName() {
      return _userName;
    }

    /**
     * The meta-property for the {@code passwordHash} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> passwordHash() {
      return _passwordHash;
    }

    /**
     * The meta-property for the {@code status} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UserAccountStatus> status() {
      return _status;
    }

    /**
     * The meta-property for the {@code alternateIds} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalIdBundle> alternateIds() {
      return _alternateIds;
    }

    /**
     * The meta-property for the {@code roles} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Set<String>> roles() {
      return _roles;
    }

    /**
     * The meta-property for the {@code permissions} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Set<String>> permissions() {
      return _permissions;
    }

    /**
     * The meta-property for the {@code emailAddress} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> emailAddress() {
      return _emailAddress;
    }

    /**
     * The meta-property for the {@code profile} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SimpleUserProfile> profile() {
      return _profile;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -266666762: // userName
          return ((SimpleUserAccount) bean).getUserName();
        case 566700617: // passwordHash
          return ((SimpleUserAccount) bean).getPasswordHash();
        case -892481550: // status
          return ((SimpleUserAccount) bean).getStatus();
        case -1805823010: // alternateIds
          return ((SimpleUserAccount) bean).getAlternateIds();
        case 108695229: // roles
          return ((SimpleUserAccount) bean).getRoles();
        case 1133704324: // permissions
          return ((SimpleUserAccount) bean).getPermissions();
        case -1070931784: // emailAddress
          return ((SimpleUserAccount) bean).getEmailAddress();
        case -309425751: // profile
          return ((SimpleUserAccount) bean).getProfile();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -266666762: // userName
          ((SimpleUserAccount) bean).setUserName((String) newValue);
          return;
        case 566700617: // passwordHash
          ((SimpleUserAccount) bean).setPasswordHash((String) newValue);
          return;
        case -892481550: // status
          ((SimpleUserAccount) bean).setStatus((UserAccountStatus) newValue);
          return;
        case -1805823010: // alternateIds
          ((SimpleUserAccount) bean).setAlternateIds((ExternalIdBundle) newValue);
          return;
        case 108695229: // roles
          ((SimpleUserAccount) bean).setRoles((Set<String>) newValue);
          return;
        case 1133704324: // permissions
          ((SimpleUserAccount) bean).setPermissions((Set<String>) newValue);
          return;
        case -1070931784: // emailAddress
          ((SimpleUserAccount) bean).setEmailAddress((String) newValue);
          return;
        case -309425751: // profile
          ((SimpleUserAccount) bean).setProfile((SimpleUserProfile) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._userName, "userName");
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._alternateIds, "alternateIds");
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._roles, "roles");
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._permissions, "permissions");
      JodaBeanUtils.notNull(((SimpleUserAccount) bean)._profile, "profile");
    }
  }
  /** The meta-bean for {@code RoleSearchResult}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code paging} property. */
    private final MetaProperty<Paging> _paging =
        DirectMetaProperty.ofReadWrite(this, "paging", RoleSearchResult.class, Paging.class);
    /** The meta-property for the {@code roles} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<ManageableRole>> _roles =
        DirectMetaProperty.ofReadWrite(this, "roles", RoleSearchResult.class, (Class) List.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "paging", "roles");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -995747956: // paging
          return _paging;
        case 108695229: // roles
          return _roles;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends RoleSearchResult> builder() {
      return new DirectBeanBuilder<RoleSearchResult>(new RoleSearchResult());
    }

    @Override
    public Class<? extends RoleSearchResult> beanType() {
      return RoleSearchResult.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code paging} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Paging> paging() {
      return _paging;
    }

    /**
     * The meta-property for the {@code roles} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<ManageableRole>> roles() {
      return _roles;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -995747956: // paging
          return ((RoleSearchResult) bean).getPaging();
        case 108695229: // roles
          return ((RoleSearchResult) bean).getRoles();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -995747956: // paging
          ((RoleSearchResult) bean).setPaging((Paging) newValue);
          return;
        case 108695229: // roles
          ((RoleSearchResult) bean).setRoles((List<ManageableRole>) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(((RoleSearchResult) bean)._roles, "roles");
    }
  }
  /** The meta-bean for {@code XCcyIborIborSwapCurveNode}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code template} property. */
    private final MetaProperty<XCcyIborIborSwapTemplate> template =
        DirectMetaProperty.ofImmutable(
            this, "template", XCcyIborIborSwapCurveNode.class, XCcyIborIborSwapTemplate.class);
    /** The meta-property for the {@code spreadKey} property. */
    private final MetaProperty<ObservableKey> spreadKey =
        DirectMetaProperty.ofImmutable(
            this, "spreadKey", XCcyIborIborSwapCurveNode.class, ObservableKey.class);
    /** The meta-property for the {@code additionalSpread} property. */
    private final MetaProperty<Double> additionalSpread =
        DirectMetaProperty.ofImmutable(
            this, "additionalSpread", XCcyIborIborSwapCurveNode.class, Double.TYPE);
    /** The meta-property for the {@code label} property. */
    private final MetaProperty<String> label =
        DirectMetaProperty.ofImmutable(
            this, "label", XCcyIborIborSwapCurveNode.class, String.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "template", "spreadKey", "additionalSpread", "label");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1321546630: // template
          return template;
        case 1302780908: // spreadKey
          return spreadKey;
        case 291232890: // additionalSpread
          return additionalSpread;
        case 102727412: // label
          return label;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public XCcyIborIborSwapCurveNode.Builder builder() {
      return new XCcyIborIborSwapCurveNode.Builder();
    }

    @Override
    public Class<? extends XCcyIborIborSwapCurveNode> beanType() {
      return XCcyIborIborSwapCurveNode.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code template} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<XCcyIborIborSwapTemplate> template() {
      return template;
    }

    /**
     * The meta-property for the {@code spreadKey} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<ObservableKey> spreadKey() {
      return spreadKey;
    }

    /**
     * The meta-property for the {@code additionalSpread} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<Double> additionalSpread() {
      return additionalSpread;
    }

    /**
     * The meta-property for the {@code label} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<String> label() {
      return label;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1321546630: // template
          return ((XCcyIborIborSwapCurveNode) bean).getTemplate();
        case 1302780908: // spreadKey
          return ((XCcyIborIborSwapCurveNode) bean).getSpreadKey();
        case 291232890: // additionalSpread
          return ((XCcyIborIborSwapCurveNode) bean).getAdditionalSpread();
        case 102727412: // label
          return ((XCcyIborIborSwapCurveNode) bean).getLabel();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
示例#19
0
  /** The meta-bean for {@code ExposureFunctions}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code uniqueId} property. */
    private final MetaProperty<UniqueId> _uniqueId =
        DirectMetaProperty.ofReadWrite(this, "uniqueId", ExposureFunctions.class, UniqueId.class);
    /** The meta-property for the {@code name} property. */
    private final MetaProperty<String> _name =
        DirectMetaProperty.ofReadWrite(this, "name", ExposureFunctions.class, String.class);
    /** The meta-property for the {@code exposureFunctions} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<List<String>> _exposureFunctions =
        DirectMetaProperty.ofReadWrite(
            this, "exposureFunctions", ExposureFunctions.class, (Class) List.class);
    /** The meta-property for the {@code idsToNames} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<Map<ExternalId, String>> _idsToNames =
        DirectMetaProperty.ofReadWrite(
            this, "idsToNames", ExposureFunctions.class, (Class) Map.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, null, "uniqueId", "name", "exposureFunctions", "idsToNames");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -294460212: // uniqueId
          return _uniqueId;
        case 3373707: // name
          return _name;
        case -1787010476: // exposureFunctions
          return _exposureFunctions;
        case -462409803: // idsToNames
          return _idsToNames;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ExposureFunctions> builder() {
      return new DirectBeanBuilder<ExposureFunctions>(new ExposureFunctions());
    }

    @Override
    public Class<? extends ExposureFunctions> beanType() {
      return ExposureFunctions.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code uniqueId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UniqueId> uniqueId() {
      return _uniqueId;
    }

    /**
     * The meta-property for the {@code name} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> name() {
      return _name;
    }

    /**
     * The meta-property for the {@code exposureFunctions} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<List<String>> exposureFunctions() {
      return _exposureFunctions;
    }

    /**
     * The meta-property for the {@code idsToNames} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Map<ExternalId, String>> idsToNames() {
      return _idsToNames;
    }
  }
示例#20
0
  /** The meta-bean for {@code IborCapFloorTrade}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code info} property. */
    private final MetaProperty<TradeInfo> info =
        DirectMetaProperty.ofImmutable(this, "info", IborCapFloorTrade.class, TradeInfo.class);
    /** The meta-property for the {@code product} property. */
    private final MetaProperty<IborCapFloor> product =
        DirectMetaProperty.ofImmutable(
            this, "product", IborCapFloorTrade.class, IborCapFloor.class);
    /** The meta-property for the {@code premium} property. */
    private final MetaProperty<AdjustablePayment> premium =
        DirectMetaProperty.ofImmutable(
            this, "premium", IborCapFloorTrade.class, AdjustablePayment.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "info", "product", "premium");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 3237038: // info
          return info;
        case -309474065: // product
          return product;
        case -318452137: // premium
          return premium;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public IborCapFloorTrade.Builder builder() {
      return new IborCapFloorTrade.Builder();
    }

    @Override
    public Class<? extends IborCapFloorTrade> beanType() {
      return IborCapFloorTrade.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code info} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<TradeInfo> info() {
      return info;
    }

    /**
     * The meta-property for the {@code product} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<IborCapFloor> product() {
      return product;
    }

    /**
     * The meta-property for the {@code premium} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<AdjustablePayment> premium() {
      return premium;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 3237038: // info
          return ((IborCapFloorTrade) bean).getInfo();
        case -309474065: // product
          return ((IborCapFloorTrade) bean).getProduct();
        case -318452137: // premium
          return ((IborCapFloorTrade) bean).premium;
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
示例#21
0
  /** The meta-bean for {@code SwapNode}. */
  public static class Meta extends CurveNode.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code startTenor} property. */
    private final MetaProperty<Tenor> _startTenor =
        DirectMetaProperty.ofReadWrite(this, "startTenor", SwapNode.class, Tenor.class);
    /** The meta-property for the {@code maturityTenor} property. */
    private final MetaProperty<Tenor> _maturityTenor =
        DirectMetaProperty.ofReadWrite(this, "maturityTenor", SwapNode.class, Tenor.class);
    /** The meta-property for the {@code payLegConvention} property. */
    private final MetaProperty<ExternalId> _payLegConvention =
        DirectMetaProperty.ofReadWrite(this, "payLegConvention", SwapNode.class, ExternalId.class);
    /** The meta-property for the {@code receiveLegConvention} property. */
    private final MetaProperty<ExternalId> _receiveLegConvention =
        DirectMetaProperty.ofReadWrite(
            this, "receiveLegConvention", SwapNode.class, ExternalId.class);
    /** The meta-property for the {@code useFixings} property. */
    private final MetaProperty<Boolean> _useFixings =
        DirectMetaProperty.ofReadWrite(this, "useFixings", SwapNode.class, Boolean.TYPE);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "startTenor",
            "maturityTenor",
            "payLegConvention",
            "receiveLegConvention",
            "useFixings");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1583746178: // startTenor
          return _startTenor;
        case 45907375: // maturityTenor
          return _maturityTenor;
        case 774631511: // payLegConvention
          return _payLegConvention;
        case -560732676: // receiveLegConvention
          return _receiveLegConvention;
        case 1829944031: // useFixings
          return _useFixings;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SwapNode> builder() {
      return new DirectBeanBuilder<SwapNode>(new SwapNode());
    }

    @Override
    public Class<? extends SwapNode> beanType() {
      return SwapNode.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code startTenor} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Tenor> startTenor() {
      return _startTenor;
    }

    /**
     * The meta-property for the {@code maturityTenor} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Tenor> maturityTenor() {
      return _maturityTenor;
    }

    /**
     * The meta-property for the {@code payLegConvention} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> payLegConvention() {
      return _payLegConvention;
    }

    /**
     * The meta-property for the {@code receiveLegConvention} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ExternalId> receiveLegConvention() {
      return _receiveLegConvention;
    }

    /**
     * The meta-property for the {@code useFixings} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<Boolean> useFixings() {
      return _useFixings;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1583746178: // startTenor
          return ((SwapNode) bean).getStartTenor();
        case 45907375: // maturityTenor
          return ((SwapNode) bean).getMaturityTenor();
        case 774631511: // payLegConvention
          return ((SwapNode) bean).getPayLegConvention();
        case -560732676: // receiveLegConvention
          return ((SwapNode) bean).getReceiveLegConvention();
        case 1829944031: // useFixings
          return ((SwapNode) bean).isUseFixings();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1583746178: // startTenor
          ((SwapNode) bean).setStartTenor((Tenor) newValue);
          return;
        case 45907375: // maturityTenor
          ((SwapNode) bean).setMaturityTenor((Tenor) newValue);
          return;
        case 774631511: // payLegConvention
          ((SwapNode) bean).setPayLegConvention((ExternalId) newValue);
          return;
        case -560732676: // receiveLegConvention
          ((SwapNode) bean).setReceiveLegConvention((ExternalId) newValue);
          return;
        case 1829944031: // useFixings
          ((SwapNode) bean).setUseFixings((Boolean) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }

    @Override
    protected void validate(Bean bean) {
      JodaBeanUtils.notNull(((SwapNode) bean)._startTenor, "startTenor");
      JodaBeanUtils.notNull(((SwapNode) bean)._maturityTenor, "maturityTenor");
      JodaBeanUtils.notNull(((SwapNode) bean)._payLegConvention, "payLegConvention");
      JodaBeanUtils.notNull(((SwapNode) bean)._receiveLegConvention, "receiveLegConvention");
      super.validate(bean);
    }
  }
  /** The meta-bean for {@code ISDACompliantDateYieldCurve}. */
  public static class Meta extends ISDACompliantYieldCurve.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code baseDate} property. */
    private final MetaProperty<LocalDate> _baseDate =
        DirectMetaProperty.ofReadWrite(
            this, "baseDate", ISDACompliantDateYieldCurve.class, LocalDate.class);
    /** The meta-property for the {@code dates} property. */
    private final MetaProperty<LocalDate[]> _dates =
        DirectMetaProperty.ofReadWrite(
            this, "dates", ISDACompliantDateYieldCurve.class, LocalDate[].class);
    /** The meta-property for the {@code dayCount} property. */
    private final MetaProperty<DayCount> _dayCount =
        DirectMetaProperty.ofReadWrite(
            this, "dayCount", ISDACompliantDateYieldCurve.class, DayCount.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> _metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, (DirectMetaPropertyMap) super.metaPropertyMap(), "baseDate", "dates", "dayCount");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1721984481: // baseDate
          return _baseDate;
        case 95356549: // dates
          return _dates;
        case 1905311443: // dayCount
          return _dayCount;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ISDACompliantDateYieldCurve> builder() {
      return new DirectBeanBuilder<ISDACompliantDateYieldCurve>(new ISDACompliantDateYieldCurve());
    }

    @Override
    public Class<? extends ISDACompliantDateYieldCurve> beanType() {
      return ISDACompliantDateYieldCurve.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return _metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code baseDate} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<LocalDate> baseDate() {
      return _baseDate;
    }

    /**
     * The meta-property for the {@code dates} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<LocalDate[]> dates() {
      return _dates;
    }

    /**
     * The meta-property for the {@code dayCount} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<DayCount> dayCount() {
      return _dayCount;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1721984481: // baseDate
          return ((ISDACompliantDateYieldCurve) bean).getBaseDate();
        case 95356549: // dates
          return ((ISDACompliantDateYieldCurve) bean).getDates();
        case 1905311443: // dayCount
          return ((ISDACompliantDateYieldCurve) bean).getDayCount();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1721984481: // baseDate
          ((ISDACompliantDateYieldCurve) bean).setBaseDate((LocalDate) newValue);
          return;
        case 95356549: // dates
          ((ISDACompliantDateYieldCurve) bean).setDates((LocalDate[]) newValue);
          return;
        case 1905311443: // dayCount
          ((ISDACompliantDateYieldCurve) bean).setDayCount((DayCount) newValue);
          return;
      }
      super.propertySet(bean, propertyName, newValue, quiet);
    }
  }
  /** The meta-bean for {@code CurveCurrencyParameterSensitivities}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code sensitivities} property. */
    @SuppressWarnings({"unchecked", "rawtypes"})
    private final MetaProperty<ImmutableList<CurveCurrencyParameterSensitivity>> sensitivities =
        DirectMetaProperty.ofImmutable(
            this,
            "sensitivities",
            CurveCurrencyParameterSensitivities.class,
            (Class) ImmutableList.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "sensitivities");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 1226228605: // sensitivities
          return sensitivities;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends CurveCurrencyParameterSensitivities> builder() {
      return new CurveCurrencyParameterSensitivities.Builder();
    }

    @Override
    public Class<? extends CurveCurrencyParameterSensitivities> beanType() {
      return CurveCurrencyParameterSensitivities.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code sensitivities} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<ImmutableList<CurveCurrencyParameterSensitivity>> sensitivities() {
      return sensitivities;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 1226228605: // sensitivities
          return ((CurveCurrencyParameterSensitivities) bean).getSensitivities();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
示例#24
0
  /** The meta-bean for {@code SwapSecurity}. */
  public static class Meta extends FinancialSecurity.Meta {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code tradeDate} property. */
    private final MetaProperty<ZonedDateTime> _tradeDate =
        DirectMetaProperty.ofReadWrite(this, "tradeDate", SwapSecurity.class, ZonedDateTime.class);
    /** The meta-property for the {@code effectiveDate} property. */
    private final MetaProperty<ZonedDateTime> _effectiveDate =
        DirectMetaProperty.ofReadWrite(
            this, "effectiveDate", SwapSecurity.class, ZonedDateTime.class);
    /** The meta-property for the {@code maturityDate} property. */
    private final MetaProperty<ZonedDateTime> _maturityDate =
        DirectMetaProperty.ofReadWrite(
            this, "maturityDate", SwapSecurity.class, ZonedDateTime.class);
    /** The meta-property for the {@code counterparty} property. */
    private final MetaProperty<String> _counterparty =
        DirectMetaProperty.ofReadWrite(this, "counterparty", SwapSecurity.class, String.class);
    /** The meta-property for the {@code payLeg} property. */
    private final MetaProperty<SwapLeg> _payLeg =
        DirectMetaProperty.ofReadWrite(this, "payLeg", SwapSecurity.class, SwapLeg.class);
    /** The meta-property for the {@code receiveLeg} property. */
    private final MetaProperty<SwapLeg> _receiveLeg =
        DirectMetaProperty.ofReadWrite(this, "receiveLeg", SwapSecurity.class, SwapLeg.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this,
            (DirectMetaPropertyMap) super.metaPropertyMap(),
            "tradeDate",
            "effectiveDate",
            "maturityDate",
            "counterparty",
            "payLeg",
            "receiveLeg");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 752419634: // tradeDate
          return _tradeDate;
        case -930389515: // effectiveDate
          return _effectiveDate;
        case -414641441: // maturityDate
          return _maturityDate;
        case -1651301782: // counterparty
          return _counterparty;
        case -995239866: // payLeg
          return _payLeg;
        case 209233963: // receiveLeg
          return _receiveLeg;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends SwapSecurity> builder() {
      return new DirectBeanBuilder<SwapSecurity>(new SwapSecurity());
    }

    @Override
    public Class<? extends SwapSecurity> beanType() {
      return SwapSecurity.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code tradeDate} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ZonedDateTime> tradeDate() {
      return _tradeDate;
    }

    /**
     * The meta-property for the {@code effectiveDate} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ZonedDateTime> effectiveDate() {
      return _effectiveDate;
    }

    /**
     * The meta-property for the {@code maturityDate} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ZonedDateTime> maturityDate() {
      return _maturityDate;
    }

    /**
     * The meta-property for the {@code counterparty} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> counterparty() {
      return _counterparty;
    }

    /**
     * The meta-property for the {@code payLeg} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SwapLeg> payLeg() {
      return _payLeg;
    }

    /**
     * The meta-property for the {@code receiveLeg} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<SwapLeg> receiveLeg() {
      return _receiveLeg;
    }
  }
  /** The meta-bean for {@code WebBatchData}. */
  public static class Meta extends BasicMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code batchMaster} property. */
    private final MetaProperty<BatchMaster> _batchMaster =
        DirectMetaProperty.ofReadWrite(this, "batchMaster", BatchMaster.class);
    /** The meta-property for the {@code uriInfo} property. */
    private final MetaProperty<UriInfo> _uriInfo =
        DirectMetaProperty.ofReadWrite(this, "uriInfo", UriInfo.class);
    /** The meta-property for the {@code uriBatchId} property. */
    private final MetaProperty<String> _uriBatchId =
        DirectMetaProperty.ofReadWrite(this, "uriBatchId", String.class);
    /** The meta-property for the {@code batch} property. */
    private final MetaProperty<BatchDocument> _batch =
        DirectMetaProperty.ofReadWrite(this, "batch", BatchDocument.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map;

    @SuppressWarnings({"unchecked", "rawtypes"})
    protected Meta() {
      LinkedHashMap temp = new LinkedHashMap();
      temp.put("batchMaster", _batchMaster);
      temp.put("uriInfo", _uriInfo);
      temp.put("uriBatchId", _uriBatchId);
      temp.put("batch", _batch);
      _map = Collections.unmodifiableMap(temp);
    }

    @Override
    public WebBatchData createBean() {
      return new WebBatchData();
    }

    @Override
    public Class<? extends WebBatchData> beanType() {
      return WebBatchData.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code batchMaster} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<BatchMaster> batchMaster() {
      return _batchMaster;
    }

    /**
     * The meta-property for the {@code uriInfo} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<UriInfo> uriInfo() {
      return _uriInfo;
    }

    /**
     * The meta-property for the {@code uriBatchId} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<String> uriBatchId() {
      return _uriBatchId;
    }

    /**
     * The meta-property for the {@code batch} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<BatchDocument> batch() {
      return _batch;
    }
  }
  /** The meta-bean for {@code ImmutableTermDepositConvention}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code currency} property. */
    private final MetaProperty<Currency> currency =
        DirectMetaProperty.ofImmutable(
            this, "currency", ImmutableTermDepositConvention.class, Currency.class);
    /** The meta-property for the {@code name} property. */
    private final MetaProperty<String> name =
        DirectMetaProperty.ofImmutable(
            this, "name", ImmutableTermDepositConvention.class, String.class);
    /** The meta-property for the {@code businessDayAdjustment} property. */
    private final MetaProperty<BusinessDayAdjustment> businessDayAdjustment =
        DirectMetaProperty.ofImmutable(
            this,
            "businessDayAdjustment",
            ImmutableTermDepositConvention.class,
            BusinessDayAdjustment.class);
    /** The meta-property for the {@code dayCount} property. */
    private final MetaProperty<DayCount> dayCount =
        DirectMetaProperty.ofImmutable(
            this, "dayCount", ImmutableTermDepositConvention.class, DayCount.class);
    /** The meta-property for the {@code spotDateOffset} property. */
    private final MetaProperty<DaysAdjustment> spotDateOffset =
        DirectMetaProperty.ofImmutable(
            this, "spotDateOffset", ImmutableTermDepositConvention.class, DaysAdjustment.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this, null, "currency", "name", "businessDayAdjustment", "dayCount", "spotDateOffset");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 575402001: // currency
          return currency;
        case 3373707: // name
          return name;
        case -1065319863: // businessDayAdjustment
          return businessDayAdjustment;
        case 1905311443: // dayCount
          return dayCount;
        case 746995843: // spotDateOffset
          return spotDateOffset;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public ImmutableTermDepositConvention.Builder builder() {
      return new ImmutableTermDepositConvention.Builder();
    }

    @Override
    public Class<? extends ImmutableTermDepositConvention> beanType() {
      return ImmutableTermDepositConvention.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code currency} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<Currency> currency() {
      return currency;
    }

    /**
     * The meta-property for the {@code name} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<String> name() {
      return name;
    }

    /**
     * The meta-property for the {@code businessDayAdjustment} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<BusinessDayAdjustment> businessDayAdjustment() {
      return businessDayAdjustment;
    }

    /**
     * The meta-property for the {@code dayCount} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<DayCount> dayCount() {
      return dayCount;
    }

    /**
     * The meta-property for the {@code spotDateOffset} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<DaysAdjustment> spotDateOffset() {
      return spotDateOffset;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 575402001: // currency
          return ((ImmutableTermDepositConvention) bean).getCurrency();
        case 3373707: // name
          return ((ImmutableTermDepositConvention) bean).name;
        case -1065319863: // businessDayAdjustment
          return ((ImmutableTermDepositConvention) bean).getBusinessDayAdjustment();
        case 1905311443: // dayCount
          return ((ImmutableTermDepositConvention) bean).getDayCount();
        case 746995843: // spotDateOffset
          return ((ImmutableTermDepositConvention) bean).getSpotDateOffset();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
  /** The meta-bean for {@code NormalIborCapletFloorletExpiryStrikeVolatilities}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code surface} property. */
    private final MetaProperty<NodalSurface> surface =
        DirectMetaProperty.ofImmutable(
            this,
            "surface",
            NormalIborCapletFloorletExpiryStrikeVolatilities.class,
            NodalSurface.class);
    /** The meta-property for the {@code index} property. */
    private final MetaProperty<IborIndex> index =
        DirectMetaProperty.ofImmutable(
            this, "index", NormalIborCapletFloorletExpiryStrikeVolatilities.class, IborIndex.class);
    /** The meta-property for the {@code dayCount} property. */
    private final MetaProperty<DayCount> dayCount =
        DirectMetaProperty.ofImmutable(
            this,
            "dayCount",
            NormalIborCapletFloorletExpiryStrikeVolatilities.class,
            DayCount.class);
    /** The meta-property for the {@code valuationDateTime} property. */
    private final MetaProperty<ZonedDateTime> valuationDateTime =
        DirectMetaProperty.ofImmutable(
            this,
            "valuationDateTime",
            NormalIborCapletFloorletExpiryStrikeVolatilities.class,
            ZonedDateTime.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "surface", "index", "dayCount", "valuationDateTime");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case -1853231955: // surface
          return surface;
        case 100346066: // index
          return index;
        case 1905311443: // dayCount
          return dayCount;
        case -949589828: // valuationDateTime
          return valuationDateTime;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends NormalIborCapletFloorletExpiryStrikeVolatilities> builder() {
      return new NormalIborCapletFloorletExpiryStrikeVolatilities.Builder();
    }

    @Override
    public Class<? extends NormalIborCapletFloorletExpiryStrikeVolatilities> beanType() {
      return NormalIborCapletFloorletExpiryStrikeVolatilities.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code surface} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<NodalSurface> surface() {
      return surface;
    }

    /**
     * The meta-property for the {@code index} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<IborIndex> index() {
      return index;
    }

    /**
     * The meta-property for the {@code dayCount} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<DayCount> dayCount() {
      return dayCount;
    }

    /**
     * The meta-property for the {@code valuationDateTime} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<ZonedDateTime> valuationDateTime() {
      return valuationDateTime;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case -1853231955: // surface
          return ((NormalIborCapletFloorletExpiryStrikeVolatilities) bean).getSurface();
        case 100346066: // index
          return ((NormalIborCapletFloorletExpiryStrikeVolatilities) bean).getIndex();
        case 1905311443: // dayCount
          return ((NormalIborCapletFloorletExpiryStrikeVolatilities) bean).getDayCount();
        case -949589828: // valuationDateTime
          return ((NormalIborCapletFloorletExpiryStrikeVolatilities) bean).getValuationDateTime();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
  /** The meta-bean for {@code FxForwardSensitivity}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code currencyPair} property. */
    private final MetaProperty<CurrencyPair> currencyPair =
        DirectMetaProperty.ofImmutable(
            this, "currencyPair", FxForwardSensitivity.class, CurrencyPair.class);
    /** The meta-property for the {@code referenceCurrency} property. */
    private final MetaProperty<Currency> referenceCurrency =
        DirectMetaProperty.ofImmutable(
            this, "referenceCurrency", FxForwardSensitivity.class, Currency.class);
    /** The meta-property for the {@code referenceDate} property. */
    private final MetaProperty<LocalDate> referenceDate =
        DirectMetaProperty.ofImmutable(
            this, "referenceDate", FxForwardSensitivity.class, LocalDate.class);
    /** The meta-property for the {@code currency} property. */
    private final MetaProperty<Currency> currency =
        DirectMetaProperty.ofImmutable(
            this, "currency", FxForwardSensitivity.class, Currency.class);
    /** The meta-property for the {@code sensitivity} property. */
    private final MetaProperty<Double> sensitivity =
        DirectMetaProperty.ofImmutable(
            this, "sensitivity", FxForwardSensitivity.class, Double.TYPE);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(
            this,
            null,
            "currencyPair",
            "referenceCurrency",
            "referenceDate",
            "currency",
            "sensitivity");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 1005147787: // currencyPair
          return currencyPair;
        case 727652476: // referenceCurrency
          return referenceCurrency;
        case 1600456089: // referenceDate
          return referenceDate;
        case 575402001: // currency
          return currency;
        case 564403871: // sensitivity
          return sensitivity;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends FxForwardSensitivity> builder() {
      return new FxForwardSensitivity.Builder();
    }

    @Override
    public Class<? extends FxForwardSensitivity> beanType() {
      return FxForwardSensitivity.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code currencyPair} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<CurrencyPair> currencyPair() {
      return currencyPair;
    }

    /**
     * The meta-property for the {@code referenceCurrency} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<Currency> referenceCurrency() {
      return referenceCurrency;
    }

    /**
     * The meta-property for the {@code referenceDate} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<LocalDate> referenceDate() {
      return referenceDate;
    }

    /**
     * The meta-property for the {@code currency} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<Currency> currency() {
      return currency;
    }

    /**
     * The meta-property for the {@code sensitivity} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<Double> sensitivity() {
      return sensitivity;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 1005147787: // currencyPair
          return ((FxForwardSensitivity) bean).getCurrencyPair();
        case 727652476: // referenceCurrency
          return ((FxForwardSensitivity) bean).getReferenceCurrency();
        case 1600456089: // referenceDate
          return ((FxForwardSensitivity) bean).getReferenceDate();
        case 575402001: // currency
          return ((FxForwardSensitivity) bean).getCurrency();
        case 564403871: // sensitivity
          return ((FxForwardSensitivity) bean).getSensitivity();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
  /** The meta-bean for {@code BusinessDayAdjustment}. */
  public static final class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code convention} property. */
    private final MetaProperty<BusinessDayConvention> convention =
        DirectMetaProperty.ofImmutable(
            this, "convention", BusinessDayAdjustment.class, BusinessDayConvention.class);
    /** The meta-property for the {@code calendar} property. */
    private final MetaProperty<HolidayCalendar> calendar =
        DirectMetaProperty.ofImmutable(
            this, "calendar", BusinessDayAdjustment.class, HolidayCalendar.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<?>> metaPropertyMap$ =
        new DirectMetaPropertyMap(this, null, "convention", "calendar");

    /** Restricted constructor. */
    private Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 2039569265: // convention
          return convention;
        case -178324674: // calendar
          return calendar;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BusinessDayAdjustment.Builder builder() {
      return new BusinessDayAdjustment.Builder();
    }

    @Override
    public Class<? extends BusinessDayAdjustment> beanType() {
      return BusinessDayAdjustment.class;
    }

    @Override
    public Map<String, MetaProperty<?>> metaPropertyMap() {
      return metaPropertyMap$;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code convention} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<BusinessDayConvention> convention() {
      return convention;
    }

    /**
     * The meta-property for the {@code calendar} property.
     *
     * @return the meta-property, not null
     */
    public MetaProperty<HolidayCalendar> calendar() {
      return calendar;
    }

    // -----------------------------------------------------------------------
    @Override
    protected Object propertyGet(Bean bean, String propertyName, boolean quiet) {
      switch (propertyName.hashCode()) {
        case 2039569265: // convention
          return ((BusinessDayAdjustment) bean).getConvention();
        case -178324674: // calendar
          return ((BusinessDayAdjustment) bean).getCalendar();
      }
      return super.propertyGet(bean, propertyName, quiet);
    }

    @Override
    protected void propertySet(Bean bean, String propertyName, Object newValue, boolean quiet) {
      metaProperty(propertyName);
      if (quiet) {
        return;
      }
      throw new UnsupportedOperationException("Property cannot be written: " + propertyName);
    }
  }
  /** The meta-bean for {@code ResultModelDefinition}. */
  public static class Meta extends DirectMetaBean {
    /** The singleton instance of the meta-bean. */
    static final Meta INSTANCE = new Meta();

    /** The meta-property for the {@code aggregatePositionOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _aggregatePositionOutputMode =
        DirectMetaProperty.ofReadWrite(
            this,
            "aggregatePositionOutputMode",
            ResultModelDefinition.class,
            ResultOutputMode.class);
    /** The meta-property for the {@code positionOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _positionOutputMode =
        DirectMetaProperty.ofReadWrite(
            this, "positionOutputMode", ResultModelDefinition.class, ResultOutputMode.class);
    /** The meta-property for the {@code tradeOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _tradeOutputMode =
        DirectMetaProperty.ofReadWrite(
            this, "tradeOutputMode", ResultModelDefinition.class, ResultOutputMode.class);
    /** The meta-property for the {@code securityOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _securityOutputMode =
        DirectMetaProperty.ofReadWrite(
            this, "securityOutputMode", ResultModelDefinition.class, ResultOutputMode.class);
    /** The meta-property for the {@code primitiveOutputMode} property. */
    private final MetaProperty<ResultOutputMode> _primitiveOutputMode =
        DirectMetaProperty.ofReadWrite(
            this, "primitiveOutputMode", ResultModelDefinition.class, ResultOutputMode.class);
    /** The meta-properties. */
    private final Map<String, MetaProperty<Object>> _map =
        new DirectMetaPropertyMap(
            this,
            null,
            "aggregatePositionOutputMode",
            "positionOutputMode",
            "tradeOutputMode",
            "securityOutputMode",
            "primitiveOutputMode");

    /** Restricted constructor. */
    protected Meta() {}

    @Override
    protected MetaProperty<?> metaPropertyGet(String propertyName) {
      switch (propertyName.hashCode()) {
        case 1633131628: // aggregatePositionOutputMode
          return _aggregatePositionOutputMode;
        case -798411699: // positionOutputMode
          return _positionOutputMode;
        case -1772765496: // tradeOutputMode
          return _tradeOutputMode;
        case -583556700: // securityOutputMode
          return _securityOutputMode;
        case 545428107: // primitiveOutputMode
          return _primitiveOutputMode;
      }
      return super.metaPropertyGet(propertyName);
    }

    @Override
    public BeanBuilder<? extends ResultModelDefinition> builder() {
      return new DirectBeanBuilder<ResultModelDefinition>(new ResultModelDefinition());
    }

    @Override
    public Class<? extends ResultModelDefinition> beanType() {
      return ResultModelDefinition.class;
    }

    @Override
    public Map<String, MetaProperty<Object>> metaPropertyMap() {
      return _map;
    }

    // -----------------------------------------------------------------------
    /**
     * The meta-property for the {@code aggregatePositionOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> aggregatePositionOutputMode() {
      return _aggregatePositionOutputMode;
    }

    /**
     * The meta-property for the {@code positionOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> positionOutputMode() {
      return _positionOutputMode;
    }

    /**
     * The meta-property for the {@code tradeOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> tradeOutputMode() {
      return _tradeOutputMode;
    }

    /**
     * The meta-property for the {@code securityOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> securityOutputMode() {
      return _securityOutputMode;
    }

    /**
     * The meta-property for the {@code primitiveOutputMode} property.
     *
     * @return the meta-property, not null
     */
    public final MetaProperty<ResultOutputMode> primitiveOutputMode() {
      return _primitiveOutputMode;
    }
  }