[FAST-18] Hide all value objects and abstract value object functionality behind static factory methods in a new Values class Created: 30/Oct/08  Updated: 30/Oct/08

Status: Open
Project: OpenFAST
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.0

Type: Improvement Priority: Default
Reporter: Jacob Northey Assignee: Jacob Northey
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Client code should not have access to IntegerValue, StringValue, LongValue, ... These values should be made protected and moved to the package org.openfast.value. A new class org.openfast.value.Values should be used to construct these objects.

public class Values {
private Values() {}
public static integer(String value)

{...}
public static integer(int value) {...}

public static integer(long value)

{...}
public static ulong(long value) {...}

public static string(String value)

{...}
public static byteVector(String hexString) {...}

public static byteVector(byte[] value)

{...}
public static decimal(String value) {...}

public static decimal(double value, int precision)

{...}
public static decimal(BigDecimal value) {...}

}


Generated at Sat Nov 23 22:49:30 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.